From 51b26f96d2bef9038cbac44d0f9ce528a7942d05 Mon Sep 17 00:00:00 2001 From: KUDr Date: Fri, 27 Jul 2007 22:32:48 +0000 Subject: (svn r10712) -Fix (r10711): \0 at the end of string constant (glx) --- src/win32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/win32.cpp') 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; } -- cgit v1.2.3-54-g00ecf