aboutsummaryrefslogtreecommitdiffstats
path: root/set.c
diff options
context:
space:
mode:
Diffstat (limited to 'set.c')
-rw-r--r--set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/set.c b/set.c
index 6f09843b..90b29f91 100644
--- a/set.c
+++ b/set.c
@@ -234,7 +234,7 @@ char *set_eval_charset( set_t *set, char *value )
{
GIConv cd;
- if ( g_strncasecmp( value, "none", 4 ) == 0 )
+ if( g_strcasecmp( value, "none" ) == 0 )
return value;
cd = g_iconv_open( "UTF-8", value );