[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev PATCH for lynx with PDCURSES
From: |
Doug Kaufman |
Subject: |
lynx-dev PATCH for lynx with PDCURSES |
Date: |
Sat, 23 Nov 2002 20:06:16 -0800 (PST) |
I finally compiled the DJGPP port of lynx with color style. The
previous patch for PDCURSES fixed color handling without color style,
but a similar problem arose with color style. I think that this fixes
it.
Doug
--- lynx2.8.5dev.9/lynx2-8-5/src/LYStyle.c.orig 2002-10-06 16:43:28.000000000
-0800
+++ lynx2.8.5dev.9/lynx2-8-5/src/LYStyle.c 2002-11-23 19:25:56.000000000
-0800
@@ -192,7 +192,9 @@
if (fA < MAX_COLOR
&& bA < MAX_COLOR
+#ifndef PDCURSES
&& (fA != default_fg || bA != default_bg)
+#endif /* PDCURSES */
&& curPair < 255) {
if (our_pairs[iBold][iBlink][iFg][iBg] != 0) {
curPair = our_pairs[iBold][iBlink][iFg][iBg];
__
Doug Kaufman
Internet: address@hidden
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
- lynx-dev PATCH for lynx with PDCURSES,
Doug Kaufman <=