(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()

This commit is contained in:
smatz
2008-09-15 16:29:40 +00:00
parent ff89c704fa
commit 606f4defdc
17 changed files with 49 additions and 40 deletions

View File

@@ -1094,7 +1094,7 @@ struct BuildVehicleWindow : Window {
case VEH_AIRCRAFT: str = STR_A039_RENAME_AIRCRAFT_TYPE; break;
}
SetDParam(0, sel_eng);
ShowQueryString(STR_ENGINE_NAME, str, MAX_LENGTH_ENGINE_NAME_BYTES, MAX_LENGTH_ENGINE_NAME_PIXELS, this, CS_ALPHANUMERAL);
ShowQueryString(STR_ENGINE_NAME, str, MAX_LENGTH_ENGINE_NAME_BYTES, MAX_LENGTH_ENGINE_NAME_PIXELS, this, CS_ALPHANUMERAL, QSF_NONE);
}
break;
}