1
1

* view.c (view_move_forward2): Fixed a bug related to the return

value, which had made the down and page-down keys no-ops.
Этот коммит содержится в:
Roland Illig 2005-04-24 23:21:05 +00:00
родитель 796bfbf4f0
Коммит fa7945759b
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -7,6 +7,8 @@
condition for breaking out of the loop when upto == 0.
* view.c (display): Fixed operator precedence with ?: in hex
display.
* view.c (view_move_forward2): Fixed a bug related to the return
value, which had made the down and page-down keys no-ops.
2005-04-19 Roland Illig <roland.illig@gmx.de>

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

@ -1273,10 +1273,8 @@ view_move_forward2 (WView *view, offset_type current, int lines, offset_type upt
} else if (c == '\n')
line++;
}
if (upto)
return line;
return (upto) ? line : p;
}
return current;
}
/* special case for text (non-hex) mode with line wrapping. */