Krolyxon
Commit b410c02

Branches

Refs →

nsxivb410c02

Fix recreation of thumbnail cache file after manual reload

Author
Bert Münnich
Date
2012-02-14 22:12 +0100
Parent
7177270
Commit
b410c022a881b98c69639dcca039863dea95de83

+3 −3

2 files changed

  1. M Makefile +2 −2
  2. M thumbs.c +1 −1
M Makefile View
@@ -1,4 +1,4 @@
1−VERSION = git-20120212
1+VERSION = git-20120214
22
33 CC = gcc
44 CFLAGS = -ansi -Wall -pedantic -O2
@@ -8,7 +8,7 @@ LIBS = -lX11 -lImlib2 -lgif
88 PREFIX = /usr/local
99 MANPREFIX = $(PREFIX)/share/man
1010
11−SRC = commands.c image.c main.c options.c thumbs.c util.c window.c
11+SRC = commands.c exif.c image.c main.c options.c thumbs.c util.c window.c
1212 OBJ = $(SRC:.c=.o)
1313
1414 all: options sxiv
M thumbs.c View
@@ -271,7 +271,7 @@ bool tns_load(tns_t *tns, int n, const fileinfo_t *file,
271271 imlib_free_image_and_decache();
272272
273273 if (use_cache && !cache_hit)
274− tns_cache_write(t, false);
274+ tns_cache_write(t, true);
275275
276276 tns->dirty = true;
277277 return true;