test: tabstop=<big-number> #2838

This commit is contained in:
Justin M. Keyes
2017-10-22 13:51:50 +02:00
parent e4a974c7cc
commit a3134bc480
2 changed files with 24 additions and 1 deletions

View File

@@ -1274,7 +1274,7 @@ int plines_win_nofold(win_T *wp, linenr_T lnum)
*/
width = wp->w_width - win_col_off(wp);
if (width <= 0 || col > 32000) {
return 32000; // bigger than the number of lines of the screen
return 32000; // bigger than the number of screen columns
}
if (col <= (unsigned int)width) {
return 1;