Limit thumbnail selection border width to 4px

This commit is contained in:
Bert Münnich 2014-11-27 22:23:14 +01:00
parent 1439b84544
commit 728a2d931f
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
VERSION := 1.3.1
VERSION := git-20141127
PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man

View file

@ -600,6 +600,7 @@ bool tns_zoom(tns_t *tns, int d)
tns->zl = MIN(tns->zl, ARRLEN(thumb_sizes)-1);
tns->bw = ((thumb_sizes[tns->zl] - 1) >> 5) + 1;
tns->bw = MIN(tns->bw, 4);
tns->dim = thumb_sizes[tns->zl] + 2 * tns->bw + 6;
if (tns->zl != oldzl) {