diff options
Diffstat (limited to 'xc/lib/X11/lcUniConv/mulelao.h')
-rw-r--r-- | xc/lib/X11/lcUniConv/mulelao.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/xc/lib/X11/lcUniConv/mulelao.h b/xc/lib/X11/lcUniConv/mulelao.h index 03e138b6a..2afd7b51f 100644 --- a/xc/lib/X11/lcUniConv/mulelao.h +++ b/xc/lib/X11/lcUniConv/mulelao.h @@ -1,3 +1,4 @@ +/* $XFree86: xc/lib/X11/lcUniConv/mulelao.h,v 1.3 2000/11/29 17:40:35 dawes Exp $ */ /* * MULELAO-1 @@ -25,17 +26,17 @@ static const unsigned short mulelao_2uni[96] = { }; static int -mulelao_mbtowc (conv_t conv, wchar_t *pwc, const unsigned char *s, int n) +mulelao_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) { unsigned char c = *s; if (c < 0xa0) { - *pwc = (wchar_t) c; + *pwc = (ucs4_t) c; return 1; } else { unsigned short wc = mulelao_2uni[c-0xa0]; if (wc != 0xfffd) { - *pwc = (wchar_t) wc; + *pwc = (ucs4_t) wc; return 1; } } @@ -58,7 +59,7 @@ static const unsigned char mulelao_page0e[96] = { }; static int -mulelao_wctomb (conv_t conv, unsigned char *r, wchar_t wc, int n) +mulelao_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) { unsigned char c = 0; if (wc < 0x00a0) { |