commit 78a81b29b16eb8cf70100e893fc96ff41da86d75
parent 07d5df4aebf6b744c94116226545f9aa42958bee
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 25 Jul 2005 18:59:24 +0000
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2927 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/text.c b/src/text.c
@@ -2095,8 +2095,8 @@ void do_wordlinechar_count(void)
if (added_magicline)
remove_magicline();
- lines = openfile->filebot->lineno - openfile->fileage->lineno +
- 1;
+ lines = openfile->filebot->lineno -
+ openfile->fileage->lineno + 1;
chars = get_totsize(openfile->fileage, openfile->filebot);
/* Unpartition the filestruct so that it contains all the text
diff --git a/src/winio.c b/src/winio.c
@@ -3053,7 +3053,6 @@ size_t get_page_start(size_t column)
return column - (COLS - 2);
else
return column - (COLS - 1);
- /* The parentheses are necessary to avoid overflow. */
}
/* Resets current_y, based on the position of current, and puts the