Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
imagecache: fix build when ENABLE_IMAGECACHE is unset, fixes #3119
  • Loading branch information
perexg committed Sep 27, 2015
1 parent 99a8a7b commit cac5ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imagecache.c
Expand Up @@ -581,9 +581,9 @@ imagecache_get_id ( const char *url )
if (!i) {
i = imagecache_skel;
i->url = strdup(url);
imagecache_new_id(i);
SKEL_USED(imagecache_skel);
#if ENABLE_IMAGECACHE
imagecache_new_id(i);
imagecache_image_add(i);
#endif
imagecache_image_save(i);
Expand Down

0 comments on commit cac5ce3

Please sign in to comment.