From 854e06ba39da14e642f4a9896697a4587ca55246 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 3 Nov 2002 14:03:16 +0000 Subject: [PATCH] dbrace macht unfug --- src/common/kernel/eressea.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c index 43d54c640..b8a53caab 100644 --- a/src/common/kernel/eressea.c +++ b/src/common/kernel/eressea.c @@ -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] = {