lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV 2.8pre.2: fix for new UPPER8 7bit approx. variant


From: Андрей Чернов
Subject: LYNX-DEV 2.8pre.2: fix for new UPPER8 7bit approx. variant
Date: Mon, 2 Mar 1998 16:33:05 +0300

The problem is the same as in my previous posting about TOLOWER/TOUPPER
problem. UPPER8(-1, 0377) will work properly after this fix.

*** src/LYStrings.c.bak Sun Mar  1 00:00:47 1998
--- src/LYStrings.c     Mon Mar  2 16:28:39 1998
***************
*** 1634,1640 ****
  {
      /* Use exact match for speed, but mostly for stability        */
      /* while doing experiments with the remainder of this function. */
!     if (ch1==ch2)
        return(0);  /* Exact match */
  
      /* case-insensitive match for us-ascii */
--- 1634,1640 ----
  {
      /* Use exact match for speed, but mostly for stability        */
      /* while doing experiments with the remainder of this function. */
!     if ((unsigned char)ch1==(unsigned char)ch2)
        return(0);  /* Exact match */
  
      /* case-insensitive match for us-ascii */

-- 
Andrey A. Chernov
<address@hidden>
http://www.nagual.pp.ru/~ache/

reply via email to

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