[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev lynx2.8.2dev.19 patch #8 (minore chrtrans undo)
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev lynx2.8.2dev.19 patch #8 (minore chrtrans undo) |
Date: |
Mon, 15 Mar 1999 20:31:17 +0300 (MSK) |
* remove num_n256 hack introduced in dev18 UCDomap.*
diff -u old/ucdomap.c ./ucdomap.c
--- old/ucdomap.c Thu Mar 4 23:55:46 1999
+++ ./ucdomap.c Mon Mar 15 20:27:18 1999
@@ -489,11 +489,12 @@
}
/*
* The font is always 256 characters - so far.
- * (fake 0 for built-in charsets like CJK or x-transparent, use .num_n256)
+ * (this function preserved by num_uni==0 so unicount=NULL for built-in
+ * charsets like CJK or x-transparent should not be a problem?)
*/
con_clear_unimap();
#endif
- for (i = 0; i < UCInfo[UC_charset_in_hndl].num_n256; i++) {
+ for (i = 0; i < 256; i++) {
if ((j = UCInfo[UC_charset_in_hndl].unicount[i])) {
ptrans[i] = *p;
for (; j; j--) {
@@ -752,6 +753,7 @@
/*
* The default font is always 256 characters.
+ * (default font can not be a fake one, so unicout!=NULL for sure.)
*/
con_clear_unimap(1);
@@ -809,11 +811,11 @@
/*
* The font is always 256 characters - so far.
- * (fake 0 for built-in charsets like CJK or x-transparent, use .num_n256)
+ * (fake 0 for built-in charsets like CJK or x-transparent, add a check)
*/
con_clear_unimap(0);
- for (i = 0; i < UCInfo[UC_charset_out_hndl].num_n256; i++) {
+ for (i = 0; i < 256 && UCInfo[UC_charset_out_hndl].unicount != NULL; i++) {
for (j = UCInfo[UC_charset_out_hndl].unicount[i]; j; j--) {
con_insert_unipair(*(p++), i, 0);
}
@@ -1971,7 +1973,6 @@
}
UCInfo[s].LYNXname = UC_LYNXcharset;
UCInfo[s].unicount = unicount;
- UCInfo[s].num_n256 = (unicount == NULL) ? 0 : 256 ; /* hack */
UCInfo[s].unitable = unitable;
UCInfo[s].num_uni = nnuni;
UCInfo[s].replacedesc = replacedesc;
diff -u old/ucdomap.h ./ucdomap.h
--- old/ucdomap.h Tue Mar 9 01:17:24 1999
+++ ./ucdomap.h Wed Mar 10 21:02:12 1999
@@ -41,7 +41,6 @@
CONST char *MIMEname;
CONST char *LYNXname;
CONST u8* unicount;
- int num_n256; /* 256 for *.tbl, 0 for CJK and x-transparent (hack) */
CONST u16* unitable;
int num_uni;
struct unimapdesc_str replacedesc;
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), (continued)
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), Leonid Pauzner, 1999/03/21
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), Philip Webb, 1999/03/15
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), David Combs, 1999/03/15
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), Philip Webb, 1999/03/15
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), Klaus Weide, 1999/03/16
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), David Combs, 1999/03/16
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), David Combs, 1999/03/15
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), Philip Webb, 1999/03/15
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), Leonid Pauzner, 1999/03/15
- Re: lynx-dev lynx2.8.2dev.19 patch #6 (em dash = --), Leonid Pauzner, 1999/03/15
- Re: lynx-dev lynx2.8.2dev.19 patch #8 (minore chrtrans undo),
Leonid Pauzner <=
- Re: lynx-dev lynx2.8.2dev.19 patch #7 (Options menu!), Leonid Pauzner, 1999/03/15
- Re: lynx-dev lynx2.8.2dev.19 patch #9 (more comments), Leonid Pauzner, 1999/03/16
- Re: lynx-dev lynx2.8.2dev.19 patch #7 (Options menu!), Leonid Pauzner, 1999/03/16
- lynx-dev lynx2.8.2dev.19 patch #2 (DJGPP build), Leonid Pauzner, 1999/03/04
- lynx-dev lynx2.8.2dev.19 patch #3 (non UNIX build), Leonid Pauzner, 1999/03/05
Re: lynx-dev lynx2.8.2dev.18, brian j pardy, 1999/03/04
Re: lynx-dev lynx2.8.2dev.18, Kim DeVaughn, 1999/03/04