summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/chrif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 59bf04d90..703a0180d 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -836,9 +836,9 @@ static void chrif_char_ask_name_answer(int acc, const char* player_name, uint16
}
if(type>0 && type<=5)
- action = msg_txt(427+type); //block|ban|unblock|unban|change the sex of
+ sprintf(action,"%s",msg_txt(427+type)); //block|ban|unblock|unban|change the sex of
else
- action = "???";
+ sprintf(action,"???");
switch( answer ) {
case 0 : sprintf(output, msg_txt(424), action, NAME_LENGTH, player_name); break;