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)
|
dbrace(const struct race * rc)
|
||||||
{
|
{
|
||||||
static char zText[32];
|
static char zText[32];
|
||||||
unsigned char * zPtr = (unsigned char*)zText;
|
char * zPtr = zText;
|
||||||
strcpy(zText, LOC(find_locale("en"), rc_name(rc, 0)));
|
strcpy(zText, LOC(find_locale("en"), rc_name(rc, 0)));
|
||||||
while (*zPtr) {
|
while (*zPtr) {
|
||||||
*zPtr = (unsigned char)toupper(*(int*)zPtr);
|
*zPtr = toupper(*zPtr);
|
||||||
++zPtr;
|
++zPtr;
|
||||||
}
|
}
|
||||||
return zText;
|
return zText;
|
||||||
|
|
Loading…
Reference in New Issue