diff options
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index e5f28d29c..dbf98d41d 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -1389,7 +1389,7 @@ static void ScenEditLandGenWndProc(Window *w, WindowEvent *e) break; case WE_ABORT_PLACE_OBJ: - RaiseWindowButtons(w); + w->RaiseButtons(); SetWindowDirty(w); break; } @@ -1509,7 +1509,7 @@ static void ScenEditTownGenWndProc(Window *w, WindowEvent *e) _place_proc(e->we.place.tile); break; case WE_ABORT_PLACE_OBJ: - RaiseWindowButtons(w); + w->RaiseButtons(); w->LowerWidget(_scengen_town_size + 7); SetWindowDirty(w); break; |