diff options
author | KUDr <KUDr@openttd.org> | 2007-07-27 22:32:48 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2007-07-27 22:32:48 +0000 |
commit | bcb8169b1278a2c4d9cb883faf7695127d6083e9 (patch) | |
tree | 31e755b83e38df557a250ad865219396d4b8da85 | |
parent | 1eda754469b6c132ad24864f5d7d0ba57c33a867 (diff) | |
download | openttd-bcb8169b1278a2c4d9cb883faf7695127d6083e9.tar.xz |
(svn r10712) -Fix (r10711): \0 at the end of string constant (glx)
-rw-r--r-- | src/win32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32.cpp b/src/win32.cpp index 0580087ca..5bbc05524 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -1276,6 +1276,6 @@ const char *GetCurrentLocale(const char *) return NULL; } /* Format it as 'en_us'. */ - sprintf(retbuf, "%c%c_%c%c\0", lang[0], lang[1], country[0], country[1]); + sprintf(retbuf, "%c%c_%c%c", lang[0], lang[1], country[0], country[1]); return retbuf; } |