cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2927 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-07-25 18:59:24 +00:00
parent 07d5df4aeb
commit 78a81b29b1
2 changed files with 2 additions and 3 deletions

View File

@ -2095,8 +2095,8 @@ void do_wordlinechar_count(void)
if (added_magicline) if (added_magicline)
remove_magicline(); remove_magicline();
lines = openfile->filebot->lineno - openfile->fileage->lineno + lines = openfile->filebot->lineno -
1; openfile->fileage->lineno + 1;
chars = get_totsize(openfile->fileage, openfile->filebot); chars = get_totsize(openfile->fileage, openfile->filebot);
/* Unpartition the filestruct so that it contains all the text /* Unpartition the filestruct so that it contains all the text

View File

@ -3053,7 +3053,6 @@ size_t get_page_start(size_t column)
return column - (COLS - 2); return column - (COLS - 2);
else else
return column - (COLS - 1); return column - (COLS - 1);
/* The parentheses are necessary to avoid overflow. */
} }
/* Resets current_y, based on the position of current, and puts the /* Resets current_y, based on the position of current, and puts the