diff options
author | zuu <zuu@openttd.org> | 2013-07-21 15:59:07 +0000 |
---|---|---|
committer | zuu <zuu@openttd.org> | 2013-07-21 15:59:07 +0000 |
commit | 4f6d19465b3a04446aec798c35b2387c7a5b6777 (patch) | |
tree | f845354aa15b2b8fb9ca17b049e23765378d0468 /src/script/api/game | |
parent | 7a805b621e4c9e3bd9dc77d594917893fb2ab488 (diff) | |
download | openttd-4f6d19465b3a04446aec798c35b2387c7a5b6777.tar.xz |
(svn r25623) -Fix [FS#5611] (r25296): Progress column width in goal window was not updated when a string changed while the window is open
Diffstat (limited to 'src/script/api/game')
-rw-r--r-- | src/script/api/game/game_window.hpp.sq | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/script/api/game/game_window.hpp.sq b/src/script/api/game/game_window.hpp.sq index 057236948..0363a004f 100644 --- a/src/script/api/game/game_window.hpp.sq +++ b/src/script/api/game/game_window.hpp.sq @@ -496,8 +496,7 @@ void SQGSWindow_Register(Squirrel *engine) SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GP_PROGRESS_TEXT, "WID_GP_PROGRESS_TEXT"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GP_ABORT, "WID_GP_ABORT"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_CAPTION, "WID_GOAL_CAPTION"); - SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_GOAL, "WID_GOAL_GOAL"); - SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_PROGRESS, "WID_GOAL_PROGRESS"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_LIST, "WID_GOAL_LIST"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_SCROLLBAR, "WID_GOAL_SCROLLBAR"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_CAPTION, "WID_GQ_CAPTION"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_QUESTION, "WID_GQ_QUESTION"); |