diff options
-rw-r--r-- | src/resize.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resize.c b/src/resize.c index ec4742e..0e491eb 100644 --- a/src/resize.c +++ b/src/resize.c @@ -747,6 +747,8 @@ int wi, he, hi; for (yy = p->w_y + p->w_histheight - 1; yy >= 0 && ncy + shift < he; yy--) { ml = OLDWIN(yy); + if (!ml->image) + break; if (ml->image[p->w_width] == ' ') break; shift++; |