tweaks: use a slightly faster comparison

master
Benno Schulenberg 2016-12-15 13:15:46 +01:00
parent 9fa95a3680
commit eb88ad980a
1 changed files with 1 additions and 1 deletions

View File

@ -2323,7 +2323,7 @@ void edit_draw(filestruct *fileptr, const char *converted, int
if (margin > 0) {
wattron(edit, interface_color_pair[LINE_NUMBER]);
#ifndef NANO_TINY
if (ISSET(SOFTWRAP) && (startpos / editwincols > 0))
if (ISSET(SOFTWRAP) && startpos >= editwincols)
mvwprintw(edit, line, 0, "%*s", margin - 1, " ");
else
#endif