diff options
Diffstat (limited to 'src/LYReadCFG.c')
-rw-r--r-- | src/LYReadCFG.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LYReadCFG.c b/src/LYReadCFG.c index d8509a00..736aeab4 100644 --- a/src/LYReadCFG.c +++ b/src/LYReadCFG.c @@ -343,13 +343,13 @@ PUBLIC int check_color ARGS2( { int i; - if (!strcasecmp(color, "default")) + if (!strcasecomp(color, "default")) return the_default; - if (!strcasecmp(color, "nocolor")) + if (!strcasecomp(color, "nocolor")) return NO_COLOR; for (i = 0; i < 16; i++) { - if (!strcasecmp(color, Color_Strings[i])) + if (!strcasecomp(color, Color_Strings[i])) return ColorCode(i); } return ERR_COLOR; |