diff options
author | belugas <belugas@openttd.org> | 2006-10-04 19:11:43 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-10-04 19:11:43 +0000 |
commit | 3319eb0b3fd29ada15d6c872de31598ca34001c4 (patch) | |
tree | 1dc99947a62401f0916ac006baeea24f68e8382e /intro_gui.c | |
parent | 0fcd83643434cd8bd3d8845f09b7b2ba39cab6f1 (diff) | |
download | openttd-3319eb0b3fd29ada15d6c872de31598ca34001c4.tar.xz |
(svn r6639) -CodeChange : Conversion of SetWidgetLoweredState to SetWindowWidgetLoweredState, in order to follow pre-established standard
Diffstat (limited to 'intro_gui.c')
-rw-r--r-- | intro_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intro_gui.c b/intro_gui.c index 056754a4c..0134b053c 100644 --- a/intro_gui.c +++ b/intro_gui.c @@ -50,10 +50,10 @@ static void SelectGameWndProc(Window *w, WindowEvent *e) case WE_CREATE: LowerWindowWidget(w, _opt_newgame.landscape + 8); break; case WE_PAINT: - SetWidgetLoweredState(w, 8, _opt_newgame.landscape == LT_NORMAL); - SetWidgetLoweredState(w, 9, _opt_newgame.landscape == LT_HILLY); - SetWidgetLoweredState(w, 10, _opt_newgame.landscape == LT_DESERT); - SetWidgetLoweredState(w, 11, _opt_newgame.landscape == LT_CANDY); + SetWindowWidgetLoweredState(w, 8, _opt_newgame.landscape == LT_NORMAL); + SetWindowWidgetLoweredState(w, 9, _opt_newgame.landscape == LT_HILLY); + SetWindowWidgetLoweredState(w, 10, _opt_newgame.landscape == LT_DESERT); + SetWindowWidgetLoweredState(w, 11, _opt_newgame.landscape == LT_CANDY); SetDParam(0, STR_6801_EASY + _opt_newgame.diff_level); DrawWindowWidgets(w); break; |