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