nsxivb410c02
Fix recreation of thumbnail cache file after manual reload
+3 −3
2 files changed
| @@ -1,4 +1,4 @@ | |||
| 1 | − | VERSION = git-20120212 | |
| 1 | + | VERSION = git-20120214 | |
| 2 | 2 | ||
| 3 | 3 | CC = gcc | |
| 4 | 4 | CFLAGS = -ansi -Wall -pedantic -O2 | |
| @@ -8,7 +8,7 @@ LIBS = -lX11 -lImlib2 -lgif | |||
| 8 | 8 | PREFIX = /usr/local | |
| 9 | 9 | MANPREFIX = $(PREFIX)/share/man | |
| 10 | 10 | ||
| 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 | |
| 12 | 12 | OBJ = $(SRC:.c=.o) | |
| 13 | 13 | ||
| 14 | 14 | all: options sxiv | |
| @@ -271,7 +271,7 @@ bool tns_load(tns_t *tns, int n, const fileinfo_t *file, | |||
| 271 | 271 | imlib_free_image_and_decache(); | |
| 272 | 272 | ||
| 273 | 273 | if (use_cache && !cache_hit) | |
| 274 | − | tns_cache_write(t, false); | |
| 274 | + | tns_cache_write(t, true); | |
| 275 | 275 | ||
| 276 | 276 | tns->dirty = true; | |
| 277 | 277 | return true; | |