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 | 51b26f96d2bef9038cbac44d0f9ce528a7942d05 (patch) | |
tree | 31e755b83e38df557a250ad865219396d4b8da85 | |
parent | f9411f30c4e955968e7abdecade3303b5e63bb4c (diff) | |
download | openttd-51b26f96d2bef9038cbac44d0f9ce528a7942d05.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; } |