about summary refs log tree commit diff stats
path: root/src/UCdomap.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-11-18 19:45:34 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1998-11-18 19:45:34 -0500
commit6d7ee0488b037f002a9fec0d060cc9842d5f8acd (patch)
tree947d8962fbdfe63f615284c82cdf0cb2251861e5 /src/UCdomap.c
parent2a2566112749f0e3f932004c1a9d8345a84b1fd0 (diff)
downloadlynx-snapshots-6d7ee0488b037f002a9fec0d060cc9842d5f8acd.tar.gz
snapshot of project "lynx", label v2-8-2dev_4
Diffstat (limited to 'src/UCdomap.c')
-rw-r--r--src/UCdomap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/UCdomap.c b/src/UCdomap.c
index 4a579f34..49599e74 100644
--- a/src/UCdomap.c
+++ b/src/UCdomap.c
@@ -1901,6 +1901,7 @@ PRIVATE int UC_Register_with_LYCharSets ARGS4(
      */
     LYCharSet_UC[LYhndl].MIMEname = UC_MIMEcharset;
     LYCharSet_UC[LYhndl].enc = UCInfo[s].enc;
+    LYCharSet_UC[LYhndl].codepage = UCInfo[s].codepage;
 
     /*
      *	@@@ We really SHOULD get more info from the table files,
@@ -1930,7 +1931,7 @@ PRIVATE int UC_Register_with_LYCharSets ARGS4(
  *  This only sets up the structure - no initialization of the tables
  * is done here yet.
  */
-PUBLIC void UC_Charset_Setup ARGS8(
+PUBLIC void UC_Charset_Setup ARGS9(
 	CONST char *,		UC_MIMEcharset,
 	CONST char *,		UC_LYNXcharset,
 	u8 *,			unicount,
@@ -1938,7 +1939,8 @@ PUBLIC void UC_Charset_Setup ARGS8(
 	int,			nnuni,
 	struct unimapdesc_str,	replacedesc,
 	int,			lowest_eight,
-	int,			UC_rawuni)
+	int,			UC_rawuni,
+	int,			codepage)
 {
     int s, Gn;
     int i, status = 0, found;
@@ -1979,6 +1981,7 @@ PUBLIC void UC_Charset_Setup ARGS8(
 	lowest_eight = 128;  /* cheat here */
     UCInfo[s].lowest_eight = lowest_eight;
     UCInfo[s].enc = UC_rawuni;
+    UCInfo[s].codepage = codepage;
     UCInfo[s].LYhndl = UC_Register_with_LYCharSets(s,
 						   UC_MIMEcharset,
 						   UC_LYNXcharset,