SHA256
1
0
forked from pool/bzflag
bzflag/bzflag-2.0.10-array-subscript.patch
Pavol Rusnak 5dc00621b2 Accepting request 37091 from home:hennevogel:branches:games
Copy from home:hennevogel:branches:games/bzflag via accept of submit request 37091 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/37091
OBS-URL: https://build.opensuse.org/package/show/games/bzflag?expand=0&rev=7
2010-04-06 14:24:17 +00:00

18 lines
468 B
Diff

--- src/bzflag/ServerStartMenu.cxx
+++ src/bzflag/ServerStartMenu.cxx
@@ -319,14 +319,6 @@
void ServerStartMenu::setSettings(const char* _settings)
{
- // FIXME -- temporary to automatically upgrade old configurations
- if (strlen(_settings) == 14) {
- strcpy(settings, _settings);
- settings[12] = settings[13];
- settings[13] = settings[14];
- return;
- }
-
if (strlen(_settings) != strlen(settings)) return;
strcpy(settings, _settings);
}