build: fix compilation when configured with --enable-tiny

master
Benno Schulenberg 2020-06-15 12:38:16 +02:00
parent 7f40eeab0a
commit fd28e5f36c
1 changed files with 2 additions and 1 deletions

View File

@ -2398,9 +2398,10 @@ void draw_row(int row, const char *converted, linestruct *line, size_t from_col)
if (is_shorter || ISSET(SOFTWRAP))
wclrtoeol(edit);
#ifndef NANO_TINY
if (thebar)
mvwaddch(edit, row, COLS - 1, bardata[row]);
#endif
#ifdef USING_OLD_NCURSES
/* Tell ncurses to really redraw the line without trying to optimize
* for what it thinks is already there, because it gets it wrong in