fix one last off-by-one error that occurs when do_gotolinecolumn() is
used interactively git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2537 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
67e3b93861
Коммит
c5e9a434b1
@ -993,7 +993,7 @@ void do_gotolinecolumn(int line, ssize_t column, bool use_answer, bool
|
||||
* number (which is zero-based) only if we hit Enter at the
|
||||
* statusbar prompt. */
|
||||
if (!parse_line_column(answer, &line, &column) || line < 1 ||
|
||||
column < 0) {
|
||||
--column < 0) {
|
||||
if (i == 0)
|
||||
statusbar(_("Come on, be reasonable"));
|
||||
display_main_list();
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user