aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--terms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terms.c b/terms.c
index 3c42275..04a1bcb 100644
--- a/terms.c
+++ b/terms.c
@@ -564,7 +564,7 @@ put_image_kitty(char *url, int x, int y, int w, int h, int sx, int sy, int sw,
return;
type = guessContentType(url);
- if(!strcasecmp(type, "image/png")) {
+ if(type && !strcasecmp(type, "image/png")) {
t = 100;
} else {
/* TODO: kitty +kitten icat or link imlib/gdkpixbuf? */