diff src/cache.c @ 1208:c45cc5cf3c4d

added options for metadata - not yet used
author nadvornik
date Sat, 20 Dec 2008 23:18:20 +0000
parents b83e280ab7cc
children ebfd305d902e
line wrap: on
line diff
--- a/src/cache.c	Sat Dec 20 21:47:04 2008 +0000
+++ b/src/cache.c	Sat Dec 20 23:18:20 2008 +0000
@@ -626,7 +626,7 @@
 		}
 
 	if (((type != CACHE_TYPE_METADATA && options->thumbnails.cache_into_dirs) ||
-	     (type == CACHE_TYPE_METADATA && options->enable_metadata_dirs)) &&
+	     (type == CACHE_TYPE_METADATA && options->metadata.enable_metadata_dirs)) &&
 	    access_file(base, W_OK))
 		{
 		path = g_build_filename(base, cache_local, name, NULL);
@@ -681,7 +681,7 @@
 
 	if (type == CACHE_TYPE_METADATA)
 		{
-		prefer_local = options->enable_metadata_dirs;
+		prefer_local = options->metadata.enable_metadata_dirs;
 		}
 	else
 		{