diff options
Diffstat (limited to 'build_vehicle_gui.c')
-rw-r--r-- | build_vehicle_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_vehicle_gui.c b/build_vehicle_gui.c index ce7f91a83..9fe1d97bc 100644 --- a/build_vehicle_gui.c +++ b/build_vehicle_gui.c @@ -99,12 +99,12 @@ static int CDECL EngineNameSorter(const void *a, const void *b) if (va != last_engine[0]) { last_engine[0] = va; - GetString(last_name[0], GetCustomEngineName(va)); + GetString(last_name[0], GetCustomEngineName(va), lastof(last_name[0])); } if (vb != last_engine[1]) { last_engine[1] = vb; - GetString(last_name[1], GetCustomEngineName(vb)); + GetString(last_name[1], GetCustomEngineName(vb), lastof(last_name[1])); } r = strcmp(last_name[0], last_name[1]); // sort by name |