[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.
Benno
--
http://www.fastmail.com - IMAP accessible web-mail
- Re: [Nano-devel] [PATCH] Window resize handling, Benno Schulenberg, 2015/05/03
- Re: [Nano-devel] [PATCH] Window resize handling, Mahyar Abbaspour, 2015/05/03
- Re: [Nano-devel] [PATCH] Window resize handling, Benno Schulenberg, 2015/05/04
- Re: [Nano-devel] [PATCH] Window resize handling, Mahyar Abbaspour, 2015/05/04
- Re: [Nano-devel] [PATCH] Window resize handling, Benno Schulenberg, 2015/05/04
- Re: [Nano-devel] [PATCH] Window resize handling, Mahyar Abbaspour, 2015/05/05
- Re: [Nano-devel] [PATCH] Window resize handling, Benno Schulenberg, 2015/05/05
- Re: [Nano-devel] [PATCH] Window resize handling, Benno Schulenberg, 2015/05/05
- Re: [Nano-devel] [PATCH] Window resize handling, Mahyar Abbaspour, 2015/05/05
- Re: [Nano-devel] [PATCH] Window resize handling, Benno Schulenberg, 2015/05/10
- Re: [Nano-devel] [PATCH] Window resize handling, Mahyar Abbaspour, 2015/05/16
- Re: [Nano-devel] [PATCH] Window resize handling, Benno Schulenberg, 2015/05/16