summaryrefslogtreecommitdiffstats
path: root/thumbs.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-17 14:45:54 +0100
committerBert <ber.t@gmx.com>2011-02-17 14:45:54 +0100
commite09a6b5e3f8c3869617fb3e749c4e455ba50989a (patch)
tree5f8cbeafdd221fa6af950b831ef39ff51a9fb119 /thumbs.c
parent1c072cc0d0b06869630bc2d842a28a7899494de8 (diff)
downloadnsxiv-e09a6b5e3f8c3869617fb3e749c4e455ba50989a.tar.zst
Appropriate title for thumbnail mode
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thumbs.c b/thumbs.c
index b4e6976..a5b98fa 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -69,6 +69,7 @@ void tns_load(tns_t *tns, win_t *win, const char *filename) {
z = MIN(zw, zh);
t = &tns->thumbs[tns->cnt++];
+ t->filename = filename;
t->w = z * w;
t->h = z * h;