[Top][All Lists]

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

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

From: Mahyar Abbaspour
Subject: Re: [Nano-devel] [PATCH] Window resize handling
Date: Tue, 5 May 2015 11:25:04 +0430

On Mon, May 4, 2015 at 5:28 PM, Benno Schulenberg <address@hidden> wrote:

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.

Hmm, I agree with you. I will move that part inside the while loop.



reply via email to

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