diff options
author | rubidium <rubidium@openttd.org> | 2010-05-20 15:14:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-20 15:14:10 +0000 |
commit | dd743bcea1e00b5b1314860bc3f1bda91419d5f1 (patch) | |
tree | 3aeed40f13a15f06c0743e44023b72a58daf1d0f /src/settings_internal.h | |
parent | f1c1812e475d01233b59cf129b787d4bedf63996 (diff) | |
download | openttd-dd743bcea1e00b5b1314860bc3f1bda91419d5f1.tar.xz |
(svn r19865) -Fix [FS#3830]: crash when changing locale settings from console due to strcpy-ing a string into a pointer
Diffstat (limited to 'src/settings_internal.h')
-rw-r--r-- | src/settings_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_internal.h b/src/settings_internal.h index f97627aac..8d57a10a8 100644 --- a/src/settings_internal.h +++ b/src/settings_internal.h @@ -86,7 +86,7 @@ typedef SettingDesc SettingDescGlobVarList; const SettingDesc *GetSettingFromName(const char *name, uint *i); bool SetSettingValue(uint index, int32 value, bool force_newgame = false); -bool SetSettingValue(uint index, const char *value); +bool SetSettingValue(uint index, const char *value, bool force_newgame = false); void SetCompanySetting(uint index, int32 value); extern VehicleDefaultSettings _old_vds; |