From 4f69a9ea0f80e78da61482b2d1143a6e58859fd1 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 8 Jul 2013 14:57:53 -0300 Subject: Fixed Bug #7493 Special Thanks to quesoph http://hercules.ws/board/tracker/issue-7493-compiling-with-cygwin/ Signed-off-by: shennetsind --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index e8165e4a3..950961b29 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -7581,7 +7581,7 @@ return true;\ clif->message(sd->fd,msg_txt(1313)); // Type "@mapflag available" to list the available mapflags. return 1; } - for (i = 0; flag_name[i]; i++) flag_name[i] = (char)tolower(flag_name[i]); //lowercase + for (i = 0; flag_name[i]; i++) flag_name[i] = TOLOWER(flag_name[i]); //lowercase if ( strcmp( flag_name , "gvg" ) == 0 ) { if( flag && !map[sd->bl.m].flag.gvg ) -- cgit v1.2.3-60-g2f50