From 7babbb9825702c15ca52502ef5325799590ac0e4 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 29 Mar 2021 11:06:16 +0200 Subject: [PATCH] Gui: fix Command::_invoke to avoid build failure --- src/Gui/Command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/Command.cpp b/src/Gui/Command.cpp index 88b6a02888..c69257d668 100644 --- a/src/Gui/Command.cpp +++ b/src/Gui/Command.cpp @@ -476,7 +476,7 @@ void Command::_invoke(int id, bool disablelog) } #ifndef FC_DEBUG catch (...) { - Base::Console().Error("Gui::Command::activated(%d): Unknown C++ exception thrown\n", i); + Base::Console().Error("Gui::Command::activated(%d): Unknown C++ exception thrown\n", id); } #endif }