--- Begin Message ---
Subject: |
Re: lynx-dev color OFF does not work with slang (patch 2) |
Date: |
Fri, 29 Nov 2002 09:58:21 -0800 (PST) |
--- Sean McGuire <address@hidden> wrote:
> Thank you so much for your invaluable help. It's amazing what one line of
> code can do. It's such a relief to get it working again.
>
> Greatly appreciated,
>
> Sean
> address@hidden
>
You're quite welcome Sean.
While examining LYOptions.c I noticed another instance
where the supposed value of SHOW_COLOR_ON was incorrectly
hardcoded as 1; this creates a bug under slang.
This is another patch to correct the bug:
--------------------->start of patch<--------------------
Index: LYOptions.c
===================================================================
RCS file: /usr/local/cvsroot/web/lynx2-8-5/src/LYOptions.c,v
retrieving revision 1.1.1.1.4.1
diff -r1.1.1.1.4.1 LYOptions.c
1249c1249,1251
< SLtt_Use_Ansi_Colors = (LYShowColor > 1 ? 1 : 0);
---
> /* CA change: possible future bug fix for color under slang. */
> /* SLtt_Use_Ansi_Colors = (LYShowColor > 1 ? 1 : 0); */
> SLtt_Use_Ansi_Colors = (LYShowColor >= SHOW_COLOR_ON ? 1 : 0);
--------------------->end of patch<--------------------
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---