Gui: fix Command::_invoke to avoid build failure

This commit is contained in:
wmayer
2021-03-29 11:06:16 +02:00
parent 4b2a30312e
commit 7babbb9825

View File

@@ -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
}