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

pull/155/head
KUDr 17 years ago
parent 1eda754469
commit bcb8169b12

@ -1276,6 +1276,6 @@ const char *GetCurrentLocale(const char *)
return NULL; return NULL;
} }
/* Format it as 'en_us'. */ /* 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; return retbuf;
} }

Loading…
Cancel
Save