summaryrefslogtreecommitdiff
path: root/genworld_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'genworld_gui.c')
-rw-r--r--genworld_gui.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/genworld_gui.c b/genworld_gui.c
index 6090fe426..9a82924df 100644
--- a/genworld_gui.c
+++ b/genworld_gui.c
@@ -241,10 +241,10 @@ void GenerateLandscapeWndProc(Window *w, WindowEvent *e)
SetWindowWidgetDisabledState(w, 21, _patches_newgame.snow_line_height <= 2 || _opt_newgame.landscape != LT_HILLY);
SetWindowWidgetDisabledState(w, 23, _patches_newgame.snow_line_height >= 13 || _opt_newgame.landscape != LT_HILLY);
- SetWidgetLoweredState(w, 3, _opt_newgame.landscape == LT_NORMAL);
- SetWidgetLoweredState(w, 4, _opt_newgame.landscape == LT_HILLY);
- SetWidgetLoweredState(w, 5, _opt_newgame.landscape == LT_DESERT);
- SetWidgetLoweredState(w, 6, _opt_newgame.landscape == LT_CANDY);
+ SetWindowWidgetLoweredState(w, 3, _opt_newgame.landscape == LT_NORMAL);
+ SetWindowWidgetLoweredState(w, 4, _opt_newgame.landscape == LT_HILLY);
+ SetvWidgetLoweredState(w, 5, _opt_newgame.landscape == LT_DESERT);
+ SetWindowWidgetLoweredState(w, 6, _opt_newgame.landscape == LT_CANDY);
DrawWindowWidgets(w);
y = (mode == GLWP_HEIGHTMAP) ? 22 : 0;
@@ -594,10 +594,10 @@ void CreateScenarioWndProc(Window *w, WindowEvent *e)
SetWindowWidgetDisabledState(w, 17, _patches_newgame.se_flat_world_height <= 0);
SetWindowWidgetDisabledState(w, 19, _patches_newgame.se_flat_world_height >= 15);
- SetWidgetLoweredState(w, 3, _opt_newgame.landscape == LT_NORMAL);
- SetWidgetLoweredState(w, 4, _opt_newgame.landscape == LT_HILLY);
- SetWidgetLoweredState(w, 5, _opt_newgame.landscape == LT_DESERT);
- SetWidgetLoweredState(w, 6, _opt_newgame.landscape == LT_CANDY);
+ SetWindowWidgetLoweredState(w, 3, _opt_newgame.landscape == LT_NORMAL);
+ SetWindowWidgetLoweredState(w, 4, _opt_newgame.landscape == LT_HILLY);
+ SetWindowWidgetLoweredState(w, 5, _opt_newgame.landscape == LT_DESERT);
+ SetWindowWidgetLoweredState(w, 6, _opt_newgame.landscape == LT_CANDY);
DrawWindowWidgets(w);
DrawString( 12, 96, STR_MAPSIZE, 0);