lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev can't configure "--disable-partial"


From: Leonid Pauzner
Subject: Re: lynx-dev can't configure "--disable-partial"
Date: Mon, 23 Nov 1998 11:33:20 +0300 (MSK)

>>
>> Some debugging code for the partial display moved out from
>> inside the ifdef:
>>
>> ./GridText.c: In function `HText_pageDisplay':
>> ./GridText.c:4093: `debug_display_partial' undeclared (first use this 
>> function)
>>
>> ,also line 4122.

> I caught this today and have it in my current patch.

also add from the same patch:

diff -u old/lybookma.c ./lybookma.c
--- old/lybookma.c      Sat Nov 21 22:22:44 1998
+++ ./lybookma.c        Sun Nov 22 22:14:50 1998
@@ -903,7 +903,7 @@
        unicode = UCTransToUni(*p, current_char_set);
        if (unicode > 32 && unicode < 127)
            return(TRUE);
-       if (c <= 32 || (c >= 127 && c <= 160) || c == 0xad)
+       if (unicode <= 32 || unicode == 0xa0 || unicode == 0xad)
            continue;
        if (unicode >= 0x2000 && unicode < 0x200f)
            continue;
@@ -955,7 +955,8 @@
     char *ncr     = NULL;
     char *buf = NULL;
     int charset_in  = current_char_set;
-    int charset_out = -1;
+    int charset_out = UCGetLYhndl_byMIME("us-ascii");
+

     for ( ; *p; p++) {
        LYstrncpy(q, p, 1);
@@ -966,9 +967,6 @@
        int uck;
        long unicode;
        char replace_buf [10], replace_buf2 [10];
-
-       if (charset_out < 0)
-           charset_out = UCGetLYhndl_byMIME("us-ascii");

        uck = UCTransCharStr(replace_buf, sizeof(replace_buf), *q,
                              charset_in, charset_out, YES);
Only in .: old



reply via email to

[Prev in Thread] Current Thread [Next in Thread]