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: [EMAIL PROTECTED]


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to