forked from enlightenment/enlightenment
encode thumb requested size into thumb filename (so if you ask for thumbs at
different sizes u get different files). the SUGGESTION is to ALWAYS create things at a standard size (should make that a config item) unless you have very special needs. SVN revision: 23824
This commit is contained in:
parent
3c612bf4e8
commit
eedd9caa06
|
@ -243,7 +243,8 @@ _e_thumb_generate(E_Thumb *eth)
|
|||
td[3] = 0;
|
||||
|
||||
snprintf(dbuf, sizeof(dbuf), "%s/%s", _thumbdir, td);
|
||||
snprintf(buf, sizeof(buf), "%s/%s/%s.thm", _thumbdir, td, id + 3);
|
||||
snprintf(buf, sizeof(buf), "%s/%s/%s-%ix%i.thm",
|
||||
_thumbdir, td, id + 3, eth->w, eth->h);
|
||||
free(id);
|
||||
free(td);
|
||||
|
||||
|
|
Loading…
Reference in New Issue