patch 9.0.1506: line number not displayed when using 'smoothscroll'
Problem: Line number not displayed when using 'smoothscroll'.
Solution: Adjust condition for showing the line number. (closes #12333)
diff --git a/src/drawline.c b/src/drawline.c
index f3d70ed..e5fa15c 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -389,7 +389,7 @@
// When there are text properties above the line put the line number
// below them.
if (wlv->row == lnum_row
- && (wp->w_skipcol == 0 || wlv->row > wp->w_winrow
+ && (wp->w_skipcol == 0 || wlv->row > 0
|| (wp->w_p_nu && wp->w_p_rnu)))
{
long num;