summaryrefslogtreecommitdiffstats
path: root/source3/lib/kanji.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-28 23:55:09 +0000
committerJeremy Allison <jra@samba.org>1998-09-28 23:55:09 +0000
commit008fd973097303ac984cd7c004e3dea67d54813d (patch)
tree9b3d2d82075cf04cbff491c9754cdedf103aeb0d /source3/lib/kanji.c
parentd455d42234ebe28f00ae360627fcb2a2f88787e0 (diff)
downloadsamba-008fd973097303ac984cd7c004e3dea67d54813d.tar.gz
samba-008fd973097303ac984cd7c004e3dea67d54813d.tar.xz
samba-008fd973097303ac984cd7c004e3dea67d54813d.zip
Fixed problems found in lint pass over the old code by <cpeterso@microsoft.com>.
These were the problems that still existed in the 2.0 branch. Jeremy. (This used to be commit 3fd28812f75f2311a114ff905143634e3bbb1fac)
Diffstat (limited to 'source3/lib/kanji.c')
-rw-r--r--source3/lib/kanji.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/kanji.c b/source3/lib/kanji.c
index 4ca5984d806..04eecb54375 100644
--- a/source3/lib/kanji.c
+++ b/source3/lib/kanji.c
@@ -1173,6 +1173,7 @@ void initialize_multibyte_vectors( int client_codepage)
multibyte_strtok = (char *(*)(char *, char *)) generic_multibyte_strtok;
_skip_multibyte_char = skip_generic_multibyte_char;
is_multibyte_char_1 = hangul_is_multibyte_char_1;
+ break;
case BIG5_CODEPAGE:
multibyte_strchr = (char *(*)(char *, int )) generic_multibyte_strchr;
multibyte_strrchr = (char *(*)(char *, int )) generic_multibyte_strrchr;
@@ -1180,6 +1181,7 @@ void initialize_multibyte_vectors( int client_codepage)
multibyte_strtok = (char *(*)(char *, char *)) generic_multibyte_strtok;
_skip_multibyte_char = skip_generic_multibyte_char;
is_multibyte_char_1 = big5_is_multibyte_char_1;
+ break;
case SIMPLIFIED_CHINESE_CODEPAGE:
multibyte_strchr = (char *(*)(char *, int )) generic_multibyte_strchr;
multibyte_strrchr = (char *(*)(char *, int )) generic_multibyte_strrchr;