From: curt Date: Fri, 19 Jan 2001 04:32:21 +0000 (+0000) Subject: Fixed typo that messed up panel toggling from the menu. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bfcef94570a3aa61ac62b365629bdb4d9e6e0d67;p=flightgear.git Fixed typo that messed up panel toggling from the menu. --- diff --git a/src/GUI/gui.cxx b/src/GUI/gui.cxx index ee2e226cc..7d08b547a 100644 --- a/src/GUI/gui.cxx +++ b/src/GUI/gui.cxx @@ -316,9 +316,12 @@ static void loadFlight(puObject *cb) void guiTogglePanel(puObject *cb) { if (fgGetBool("/sim/panel/visibility")) - fgSetBool("/sim/panel/visiblity", false); + fgSetBool("/sim/panel/visibility", false); else fgSetBool("/sim/panel/visibility", true); + + fgReshape(fgGetInt("/sim/startup/xsize"), + fgGetInt("/sim/startup/ysize")); } //void MenuHideMenuCb(puObject *cb)