Author: abrander
Date: 2010-05-29 17:30:55 +0200 (Sat, 29 May 2010)
New Revision: 3404

Modified:
   trunk/src/rs-cache.c
Log:
Always set proper defaults in rs_cache_load_quick().

Modified: trunk/src/rs-cache.c
===================================================================
--- trunk/src/rs-cache.c        2010-05-28 17:00:42 UTC (rev 3403)
+++ trunk/src/rs-cache.c        2010-05-29 15:30:55 UTC (rev 3404)
@@ -462,6 +462,9 @@
        xmlChar *val;
        gchar *cachename;
 
+       if (priority) *priority = PRIO_U;
+       if (exported) *exported = FALSE;
+
        if (!filename)
                return;
 
@@ -482,8 +485,6 @@
        if(doc==NULL)
                return;
 
-       if (exported) *exported = FALSE;
-
        cur = xmlDocGetRootElement(doc);
 
        cur = cur->xmlChildrenNode;


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to