[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev dev.12 PDCurses patch
From: |
Doug Kaufman |
Subject: |
lynx-dev dev.12 PDCurses patch |
Date: |
Tue, 19 Oct 1999 23:55:47 -0700 (PDT) |
I hadn't compiled with PDCurses for a while. Somewhere between
2.8.3dev.3 and 2.8.3dev.5 changes for PDCurses and GETBKGD appeared
in the code without any mention in the CHANGES file (or any messages
to the list that I recall). The changes break the GETBKGD action of
PDCurses (when patched according to the instructions in INSTALLATION).
At least when I compile the DOS version, the code from dev.3 was
correct and that from dev.5 was not. This reverts to the old behavior.
Does anyone remember why these changes were made and what problem they
were supposed to fix?
INSTALLATION gives the patch for adding getbkgd support to PDCurses,
but only talks about it in the DOS section. I would presume that the
patch actually applies to any platform using PDCurses.
Doug
--- lynx2-8-3/src/LYForms.c Wed Sep 29 04:40:40 1999
+++ lynx2-8-3/src/LYForms.c.new Mon Oct 18 00:23:08 1999
@@ -979,7 +979,7 @@
#if defined(NCURSES)
LYsubwindow(form_window);
#endif
-#if defined(HAVE_GETBKGD) && !defined(PDCURSES)/* not defined in ncurses 1.8.7
*/
+#if defined(HAVE_GETBKGD) /* not defined in ncurses 1.8.7 */
wbkgd(form_window, getbkgd(stdscr));
wbkgdset(form_window, getbkgd(stdscr));
#endif
--- lynx2-8-3/src/LYOptions.c Wed Sep 29 04:40:40 1999
+++ lynx2-8-3/src/LYOptions.c.new Mon Oct 18 00:23:42 1999
@@ -2425,7 +2425,7 @@
#ifdef NCURSES
LYsubwindow(form_window);
#endif
-#if defined(HAVE_GETBKGD) && !defined(PDCURSES)/* not defined in ncurses 1.8.7
*/
+#if defined(HAVE_GETBKGD)/* not defined in ncurses 1.8.7 */
wbkgd(form_window, getbkgd(stdscr));
wbkgdset(form_window, getbkgd(stdscr));
#endif
__
Doug Kaufman
Internet: address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev dev.12 PDCurses patch,
Doug Kaufman <=