Disable fullscreen when no image
This commit is contained in:
parent
02c6c4ac5c
commit
aba3541d37
|
@ -38,6 +38,10 @@ void drawimage(void) {
|
||||||
int width = 0, height = 0;
|
int width = 0, height = 0;
|
||||||
char *limg = NULL;
|
char *limg = NULL;
|
||||||
|
|
||||||
|
if (fullscreen && !image) {
|
||||||
|
togglefullimg(NULL);
|
||||||
|
}
|
||||||
|
|
||||||
if (!lines || !columns || hideimage) return;
|
if (!lines || !columns || hideimage) return;
|
||||||
|
|
||||||
// load image cache
|
// load image cache
|
||||||
|
|
Loading…
Reference in a new issue