diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2013-11-29 00:52:56 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2013-11-29 00:52:56 -0500 |
commit | 9e1419601a5cc9cafbc77b52dcb70d7e01350272 (patch) | |
tree | 727a87de2920e0789b591eab4901fdece3924ec8 /src/LYReadCFG.c | |
parent | 422b94378f762167eddba4f1874260f057d184bb (diff) | |
download | lynx-snapshots-9e1419601a5cc9cafbc77b52dcb70d7e01350272.tar.gz |
snapshot of project "lynx", label v2-8-8dev_17
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 b4008041..382591e1 100644 --- a/src/LYReadCFG.c +++ b/src/LYReadCFG.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYReadCFG.c,v 1.181 2013/11/28 11:21:09 tom Exp $ + * $LynxId: LYReadCFG.c,v 1.182 2013/11/29 00:21:45 tom Exp $ */ #ifndef NO_RULES #include <HTRules.h> @@ -586,8 +586,8 @@ static int character_set_fun(char *value) if (i < 0) { #ifdef CAN_AUTODETECT_DISPLAY_CHARSET if (auto_display_charset >= 0 - && (!strnicmp(value, "AutoDetect ", 11) - || !strnicmp(value, "AutoDetect-2 ", 13))) + && (!strncasecomp(value, "AutoDetect ", 11) + || !strncasecomp(value, "AutoDetect-2 ", 13))) current_char_set = auto_display_charset; #endif /* do nothing here: so fallback to userdefs.h */ |