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;
|
int width = 0, height = 0;
|
||||||
char *limg = NULL;
|
char *limg = NULL;
|
||||||
|
|
||||||
if (!lines || hideimage) return;
|
if (!lines || !columns || hideimage) return;
|
||||||
|
|
||||||
// to prevent the image from being drawn multiple times
|
// to prevent the image from being drawn multiple times
|
||||||
if (!needredraw) {
|
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
|
.\" Define V font for inline verbatim, using C font in formats
|
||||||
.\" that render this, and otherwise B font.
|
.\" that render this, and otherwise B font.
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
. ftr VB CB
|
. ftr VB CB
|
||||||
. ftr VBI CBI
|
. ftr VBI CBI
|
||||||
.\}
|
.\}
|
||||||
.TH "spmenu" "1" "" "0.3.1" "dynamic menu"
|
.TH "spmenu" "1" "" "0.3.2" "dynamic menu"
|
||||||
.hy
|
.hy
|
||||||
.SH spmenu
|
.SH spmenu
|
||||||
.SH What is spmenu?
|
.SH What is spmenu?
|
||||||
|
|
Loading…
Reference in a new issue