summaryrefslogtreecommitdiffstats
path: root/thumbs.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-04-04 20:35:10 +0200
committerBert <ber.t@gmx.com>2011-04-04 20:35:10 +0200
commit8d4e3a57ab93429ca8c3e8e9b1cb1ce21ee4b609 (patch)
tree42b795fd16dae28d88393a25f6e0c4959726c5dd /thumbs.c
parent8ee73709d786bd0eb6aead937fcad45ad5906f91 (diff)
downloadnsxiv-8d4e3a57ab93429ca8c3e8e9b1cb1ce21ee4b609.tar.zst
Do not check file-type at startup
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c4
1 files changed, 2 insertions, 2 deletions
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();