lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev dev.22 - USE_PSRC crash


From: Leonid Pauzner
Subject: lynx-dev dev.22 - USE_PSRC crash
Date: Tue, 13 Apr 1999 20:49:23 +0400 (MSD)

dev22 can't build with USE_PSRC *and* without USE_COLOR_STYLE,
an obvious fix below:



diff -u old/sgml.c ./sgml.c
--- old/sgml.c  Tue Apr 13 02:39:16 1999
+++ ./sgml.c    Tue Apr 13 20:19:56 1999
@@ -34,6 +34,8 @@

 #ifdef USE_COLOR_STYLE
 # include <LYStyle.h>
+#endif
+#ifdef USE_PSRC
 # include <LYPrettySrc.h>
 #endif


diff -u old/html.c ./html.c
--- old/html.c  Tue Apr 13 02:39:16 1999
+++ ./html.c    Tue Apr 13 19:18:02 1999
@@ -49,12 +49,15 @@
 #include <LYCurses.h>
 #endif /* VMS */

+#ifdef USE_PSRC
+#include <LYPrettySrc.h>
+#endif
+
 #ifdef USE_COLOR_STYLE
 #include <SGML.h>
 #include <AttrList.h>
 #include <LYHash.h>
 #include <LYStyle.h>
-#include <LYPrettySrc.h>
 #undef SELECTED_STYLES
 #define pHText_changeStyle(X,Y,Z) {}




reply via email to

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