diff src/cache-loader.c @ 318:b16b9b8979e5

Add a new struct ConfOptions to handle options. Changes were made among the code to use only one global var named "options" of type ConfOptions *. Initialization takes place in new init_options().
author zas_
date Fri, 11 Apr 2008 22:14:36 +0000
parents 9995c5fb202a
children 767b53cd9ab7
line wrap: on
line diff
--- a/src/cache-loader.c	Fri Apr 11 20:35:37 2008 +0000
+++ b/src/cache-loader.c	Fri Apr 11 22:14:36 2008 +0000
@@ -157,7 +157,7 @@
 	else
 		{
 		/* done, save then call done function */
-		if (enable_thumb_caching &&
+		if (options->enable_thumb_caching &&
 		    cl->done_mask != CACHE_LOADER_NONE)
 			{
 			gchar *base;