1
1

* view.c (view_moveto_top): Simplified the code.

Этот коммит содержится в:
Roland Illig 2005-08-22 19:19:51 +00:00
родитель de058c5488
Коммит 55da46b128
2 изменённых файлов: 3 добавлений и 7 удалений

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

@ -8,6 +8,7 @@
not search progress), calculate the percentage based on dpy_end
instead of dpy_start. This avoids a sudden break to 100 % when
approaching the end of file.
* view.c (view_moveto_top): Simplified the code.
2005-08-21 Roland Illig <roland.illig@gmx.de>

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

@ -1085,13 +1085,8 @@ static void
view_moveto_top (WView *view)
{
view->dpy_start = 0;
if (view->hex_mode) {
view->hex_cursor = 0;
} else if (view->text_wrap_mode) {
/* nothing to do */
} else {
view->dpy_text_column = 0;
}
view->hex_cursor = 0;
view->dpy_text_column = 0;
view_movement_fixups (view, TRUE);
}