From f9c698b5eb6cd979591473bfab9ce1b9b71bb3fe Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 3 Apr 1998 01:04:34 +0000 Subject: Fix from Josef Hinteregger for using character set = iso8859-1 with the new multibyte char code. Was always using sj_to_sj conversion in error. Jeremy. (This used to be commit e6a083451f8785fa1c00314a958007fe96fcc039) --- source3/lib/kanji.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/kanji.c') diff --git a/source3/lib/kanji.c b/source3/lib/kanji.c index 93604055476..994cf6e1bd0 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")) { -- cgit