diff options
author | Bert <ber.t@gmx.com> | 2011-04-04 20:35:10 +0200 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-04-04 20:35:10 +0200 |
commit | 8d4e3a57ab93429ca8c3e8e9b1cb1ce21ee4b609 (patch) | |
tree | 42b795fd16dae28d88393a25f6e0c4959726c5dd /thumbs.c | |
parent | 8ee73709d786bd0eb6aead937fcad45ad5906f91 (diff) | |
download | nsxiv-8d4e3a57ab93429ca8c3e8e9b1cb1ce21ee4b609.tar.zst |
Do not check file-type at startup
Diffstat (limited to 'thumbs.c')
-rw-r--r-- | thumbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |