From 8d4e3a57ab93429ca8c3e8e9b1cb1ce21ee4b609 Mon Sep 17 00:00:00 2001 From: Bert Date: Mon, 4 Apr 2011 20:35:10 +0200 Subject: Do not check file-type at startup --- thumbs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index 7af1753..e8e483d 100644 --- a/thumbs.c +++ b/thumbs.c @@ -23,7 +23,7 @@ #include "thumbs.h" #include "util.h" -extern Imlib_Image *im_broken; +extern Imlib_Image *im_invalid; const int thumb_dim = THUMB_SIZE + 10; void tns_init(tns_t *tns, int cnt) { @@ -78,7 +78,7 @@ void tns_load(tns_t *tns, win_t *win, int n, const char *filename) { if ((im = imlib_load_image(filename))) imlib_context_set_image(im); else - imlib_context_set_image(im_broken); + imlib_context_set_image(im_invalid); w = imlib_image_get_width(); h = imlib_image_get_height(); -- cgit v1.2.3