From bcb8169b1278a2c4d9cb883faf7695127d6083e9 Mon Sep 17 00:00:00 2001 From: KUDr Date: Fri, 27 Jul 2007 22:32:48 +0000 Subject: [PATCH] (svn r10712) -Fix (r10711): \0 at the end of string constant (glx) --- src/win32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32.cpp b/src/win32.cpp index 0580087ca1..5bbc055247 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; }