summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win/colours.h4
-rw-r--r--win/inspircd_win32wrapper.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/win/colours.h b/win/colours.h
index 574d34640..cc984334f 100644
--- a/win/colours.h
+++ b/win/colours.h
@@ -40,12 +40,12 @@ int printf_c(const char * format, ...)
temp[t] = 0;
p++;
- if(!stricmp(temp, "[0"))
+ if(!_stricmp(temp, "[0"))
{
// Returning to normal colour.
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE);
}
- else if(!stricmp(temp, "[1"))
+ else if(!_stricmp(temp, "[1"))
{
// White
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), TWHITE);
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp
index ef04b4fc8..ece823a4d 100644
--- a/win/inspircd_win32wrapper.cpp
+++ b/win/inspircd_win32wrapper.cpp
@@ -209,7 +209,7 @@ int printf_c(const char * format, ...)
temp[t] = 0;
p++;
- if (!stricmp(temp, "[0"))
+ if (!_stricmp(temp, "[0"))
{
// Returning to normal colour.
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE);