summaryrefslogtreecommitdiff
path: root/build_vehicle_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'build_vehicle_gui.c')
-rw-r--r--build_vehicle_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_vehicle_gui.c b/build_vehicle_gui.c
index 3f23bef4b..b293b516c 100644
--- a/build_vehicle_gui.c
+++ b/build_vehicle_gui.c
@@ -396,7 +396,7 @@ static void BuildAircraftClickEvent(Window *w, WindowEvent *e)
EngineID sel_eng = bv->sel_engine;
if (sel_eng != INVALID_ENGINE) {
bv->rename_engine = sel_eng;
- ShowQueryString(GetCustomEngineName(sel_eng), STR_A039_RENAME_AIRCRAFT_TYPE, 31, 160, w->window_class, w->window_number, CS_ALPHANUMERAL);
+ ShowQueryString(GetCustomEngineName(sel_eng), STR_A039_RENAME_AIRCRAFT_TYPE, 31, 160, w, CS_ALPHANUMERAL);
}
break;
}