[Top][All Lists]

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

Re: [Nano-devel] [PATCH] Window resize handling

From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] Window resize handling
Date: Mon, 04 May 2015 14:58:51 +0200

On Mon, May 4, 2015, at 14:08, Benno Schulenberg wrote:
> About the code...

Also, instead of duplicating the code for calculating last_line,
I would just move that calculation inside the while (TRUE),
adding a proper initialization of last_line = 0 in the for.

The recalculation for every keystroke is a bit of a waste,
but the thing is not time critical, and it's better than
code duplication.


-- - IMAP accessible web-mail

reply via email to

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