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.master
parent
2e53ed2928
commit
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
|
||||||
|
|
Loading…
Reference in New Issue