diff -r 7b237b4958d6 -r eeddbbacd4ac build_vehicle_gui.c --- a/build_vehicle_gui.c Sat Dec 30 01:14:00 2006 +0000 +++ b/build_vehicle_gui.c Sat Dec 30 01:17:53 2006 +0000 @@ -396,7 +396,7 @@ 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; }