diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-02-27 19:00:00 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-02-27 19:00:00 -0500 |
commit | 86b4d41a7463bd35cf662fc748aa338caef609c9 (patch) | |
tree | db4ba2deed8edca7df91182c0253ee93248c7382 /src/LYReadCFG.c | |
parent | 899516a7c8880df05e30bbbed72ca1d3cb7a4f00 (diff) | |
download | lynx-snapshots-86b4d41a7463bd35cf662fc748aa338caef609c9.tar.gz |
snapshot of project "lynx", label v2-7-1ac-0_117
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; |