From 9e1419601a5cc9cafbc77b52dcb70d7e01350272 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 29 Nov 2013 00:52:56 -0500 Subject: snapshot of project "lynx", label v2-8-8dev_17 --- src/LYReadCFG.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/LYReadCFG.c') 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 @@ -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 */ -- cgit 1.4.1-2-gfad0