(svn r10712) -Fix (r10711): \0 at the end of string constant (glx)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
KUDr 17 years ago
parent f9411f30c4
commit 51b26f96d2

@ -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;
}

Loading…
Cancel
Save