lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev dev.22 - USE_PSRC crash


From: dickey
Subject: Re: lynx-dev dev.22 - USE_PSRC crash
Date: Tue, 13 Apr 1999 15:40:07 -0400 (EDT)

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

as I understood it, USE_PSRC wasn't workable w/o color-style.
  
> 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) {} 
>  
>  


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

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