On Sun, Jul 23, 2000 at 04:58:58PM -0600, [EMAIL PROTECTED] wrote:
> ########################################################################
> %%% Created Sun Jul 23 16:35:43 MDT 2000 by target lynx.patch. %%%
> diff -bru orig/lynx2-8-4/src/LYStrings.c lynx2-8-4/src/LYStrings.c
> --- orig/lynx2-8-4/src/LYStrings.c    Mon Jul 17 20:49:54 2000
> +++ lynx2-8-4/src/LYStrings.c Sun Jul 23 16:26:01 2000
> @@ -706,7 +706,8 @@
>  
>  PUBLIC void LYsubwindow ARGS1(WINDOW *, param)
>  {
> -    if ((my_subwindow = param) != 0) {
> +    if (param != 0) {
> +        my_subwindow = param;

that's the shortest fix (looks fine right now).  I'm inclined to add some
logic to ensure that delwin can be called only once.

>  #if defined(NCURSES) || defined(PDCURSES)
>       keypad(param, TRUE);
>  #if defined(HAVE_GETBKGD) /* not defined in ncurses 1.8.7 */
> ########################################################################
> 
> Thanks,
> gil
> -- 
> StorageTek
> INFORMATION made POWERFUL
> 
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

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

Reply via email to