[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Crash in popup menu
From: |
Thomas Dickey |
Subject: |
Re: lynx-dev Crash in popup menu |
Date: |
Sun, 23 Jul 2000 20:56:57 -0400 |
User-agent: |
Mutt/1.2i |
On Sun, Jul 23, 2000 at 04:58:58PM -0600, address@hidden 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 address@hidden
--
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden