summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/kanji.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/kanji.c b/source3/lib/kanji.c
index 9360405547..994cf6e1bd 100644
--- a/source3/lib/kanji.c
+++ b/source3/lib/kanji.c
@@ -1108,7 +1108,7 @@ void interpret_coding_system(char *str)
} else if (strequal (str, "hex")) {
codes = HEX_CODE;
hex_tag = HEXTAG;
- } else if (strncasecmp (str, "hex", 3)) {
+ } else if (!strncasecmp (str, "hex", 3)) {
codes = HEX_CODE;
hex_tag = (str[3] ? str[3] : HEXTAG);
} else if (strequal (str, "j8bb")) {