1
1

oops -- that's what you get when you don't test things before pushing

Of course 'row' needs to be initialized to zero for the softwrap case.
Этот коммит содержится в:
Benno Schulenberg 2017-02-26 18:29:18 +01:00
родитель 2e53ed2928
Коммит efdd73922e

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

@ -2269,7 +2269,7 @@ void onekey(const char *keystroke, const char *desc, int length)
* and put the cursor in the edit window at (current_y, "current_x"). */ * and put the cursor in the edit window at (current_y, "current_x"). */
void reset_cursor(void) void reset_cursor(void)
{ {
ssize_t row; ssize_t row = 0;
size_t col, xpt = xplustabs(); size_t col, xpt = xplustabs();
#ifndef NANO_TINY #ifndef NANO_TINY