nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 6168cb7391cf7512a4ebe8fd63b149f6a5d88fe9
parent 44e0c03fffe55fee6820e0f6f339721b13d657a1
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 30 Jun 2005 03:53:28 +0000

cosmetic fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2798 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/winio.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -3984,8 +3984,7 @@ void do_help(void) * expect word to have tabs and control characters expanded. */ void do_replace_highlight(bool highlight_flag, const char *word) { - size_t y = xplustabs(); - size_t word_len = strlenpt(word); + size_t y = xplustabs(), word_len = strlenpt(word); y = get_page_start(y) + COLS - y; /* Now y is the number of columns that we can display on this