summaryrefslogtreecommitdiff
path: root/xc/lib/X11/lcUniConv/georgian_academy.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/X11/lcUniConv/georgian_academy.h')
-rw-r--r--xc/lib/X11/lcUniConv/georgian_academy.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/xc/lib/X11/lcUniConv/georgian_academy.h b/xc/lib/X11/lcUniConv/georgian_academy.h
index 14aebda96..a847c52e8 100644
--- a/xc/lib/X11/lcUniConv/georgian_academy.h
+++ b/xc/lib/X11/lcUniConv/georgian_academy.h
@@ -1,3 +1,4 @@
+/* $XFree86: xc/lib/X11/lcUniConv/georgian_academy.h,v 1.3 2000/11/29 17:40:29 dawes Exp $ */
/*
* GEORGIAN-ACADEMY
@@ -13,15 +14,15 @@ static const unsigned short georgian_academy_2uni[32] = {
};
static int
-georgian_academy_mbtowc (conv_t conv, wchar_t *pwc, const unsigned char *s, int n)
+georgian_academy_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
{
unsigned char c = *s;
if (c >= 0x80 && c < 0xa0)
- *pwc = (wchar_t) georgian_academy_2uni[c-0x80];
+ *pwc = (ucs4_t) georgian_academy_2uni[c-0x80];
else if (c >= 0xc0 && c < 0xe7)
- *pwc = (wchar_t) c + 0x1010;
+ *pwc = (ucs4_t) c + 0x1010;
else
- *pwc = (wchar_t) c;
+ *pwc = (ucs4_t) c;
return 1;
}
@@ -58,7 +59,7 @@ static const unsigned char georgian_academy_page20[48] = {
};
static int
-georgian_academy_wctomb (conv_t conv, unsigned char *r, wchar_t wc, int n)
+georgian_academy_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
unsigned char c = 0;
if (wc < 0x0080) {