forked from github/server
dbrace macht unfug
This commit is contained in:
parent
5da8f6169e
commit
854e06ba39
|
@ -111,10 +111,10 @@ const char *
|
|||
dbrace(const struct race * rc)
|
||||
{
|
||||
static char zText[32];
|
||||
unsigned char * zPtr = (unsigned char*)zText;
|
||||
char * zPtr = zText;
|
||||
strcpy(zText, LOC(find_locale("en"), rc_name(rc, 0)));
|
||||
while (*zPtr) {
|
||||
*zPtr = (unsigned char)toupper(*(int*)zPtr);
|
||||
*zPtr = toupper(*zPtr);
|
||||
++zPtr;
|
||||
}
|
||||
return zText;
|
||||
|
|
Loading…
Reference in New Issue