* view.c (view_move_forward2): Fixed a bug related to the return
value, which had made the down and page-down keys no-ops.
Этот коммит содержится в:
родитель
796bfbf4f0
Коммит
fa7945759b
@ -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. */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user