[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses-5.4-20040731.patch.gz
From: |
Thomas Dickey |
Subject: |
Re: ncurses-5.4-20040731.patch.gz |
Date: |
Sat, 31 Jul 2004 20:33:39 -0400 (EDT) |
On Sun, 1 Aug 2004, Folkert van Heusden wrote:
> Hi,
>
> Are you sure that:
>
> +#ifdef TRACE
> + if (_nc_tracing & TRACE_UPDATE) {
> + LINES = ToLines - was_stolen;
> + COLS = ToCols;
> + show_window_sizes("after");
> + }
> +#endif
>
> is correct? It is now only adjusting LINES and COLS when tracing is enabled.
> Shouldn't it always adjust these?
look down a few lines - the same assignments appear there. I copied them
into the TRACE ifdef so I could get the right numbers in the first line
written by show_window_sizes(). That made the trace file easier to
understand.
I know it looks odd, but didn't want to add a flag variable so I could
move that chunk of code below the place where I copied the code from.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net