diff options
-rw-r--r-- | source3/lib/kanji.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
2 files changed, 2 insertions, 2 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")) { diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 2527692bc5..20479bf96d 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -62,7 +62,7 @@ * and 'coding system'. */ #ifndef KANJI -#define KANJI "sjis" +#define KANJI "sbcs" #endif /* KANJI */ BOOL bLoaded = False; |