Previous fix for VC++/strcasecmp() was wrong-- use StrCaseCmp().
authorEric Mullins <emwine@earthlink.net>
Thu, 1 Oct 2009 21:52:50 +0000 (15:52 -0600)
committerEric Mullins <emwine@earthlink.net>
Thu, 1 Oct 2009 21:52:50 +0000 (15:52 -0600)
backend.c
winboard/config.h

index 045657c..9e70440 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -2444,7 +2444,7 @@ read_from_ics(isr, closure, data, count, error)
                    }
                }
                if(chattingPartner<0) // if not, look if there is a chatbox for this indivdual
-               for(p=0; p<MAX_CHAT; p++) if(!strcasecmp(talker+1, chatPartner[p])) {
+               for(p=0; p<MAX_CHAT; p++) if(!StrCaseCmp(talker+1, chatPartner[p])) {
                    talker[0] = 0;
                    chattingPartner = p; break;
                }
index 01c77a9..099f415 100644 (file)
 \r
 #ifdef _MSC_VER\r
 #define snprintf _snprintf\r
-#define strcasecmp _stricmp\r
 #endif\r