1
1

remove redundant code, and add a comment

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2937 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
David Lawrence Ramsey 2005-07-26 00:42:48 +00:00
родитель b18482e1b0
Коммит 6969c995d1
2 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -1907,10 +1907,6 @@ const char *do_alt_speller(char *tempfile_name)
/* Turn the cursor back on for sure. */
curs_set(1);
/* The screen might have been resized. If it has, reinitialize all
* the windows based on the new screen dimensions. */
window_init();
if (!WIFEXITED(alt_spell_status) ||
WEXITSTATUS(alt_spell_status) != 0) {
char *altspell_error;

Просмотреть файл

@ -3487,7 +3487,8 @@ int need_vertical_update(size_t old_pww)
* of lines, and draw new lines on the blank lines left after the
* scrolling. direction is the direction to scroll, either UP or DOWN,
* and nlines is the number of lines to scroll. We change edittop, and
* assume that current and current_x are up to date. */
* assume that current and current_x are up to date. We also assume
* that scrollok(edit) is FALSE. */
void edit_scroll(updown direction, int nlines)
{
bool do_redraw = need_vertical_update(0);