don't draw image if !columns
This commit is contained in:
parent
23955b15f4
commit
73c17f6f55
|
@ -71,7 +71,7 @@ drawimage(void)
|
|||
int width = 0, height = 0;
|
||||
char *limg = NULL;
|
||||
|
||||
if (!lines || hideimage) return;
|
||||
if (!lines || !columns || hideimage) return;
|
||||
|
||||
// to prevent the image from being drawn multiple times
|
||||
if (!needredraw) {
|
||||
|
|
4
spmenu.1
4
spmenu.1
|
@ -1,4 +1,4 @@
|
|||
.\" Automatically generated by Pandoc 3.0.1
|
||||
.\" Automatically generated by Pandoc 3.1
|
||||
.\"
|
||||
.\" Define V font for inline verbatim, using C font in formats
|
||||
.\" that render this, and otherwise B font.
|
||||
|
@ -14,7 +14,7 @@
|
|||
. ftr VB CB
|
||||
. ftr VBI CBI
|
||||
.\}
|
||||
.TH "spmenu" "1" "" "0.3.1" "dynamic menu"
|
||||
.TH "spmenu" "1" "" "0.3.2" "dynamic menu"
|
||||
.hy
|
||||
.SH spmenu
|
||||
.SH What is spmenu?
|
||||
|
|
Loading…
Reference in a new issue