Author: akv
Date: 2010-01-27 20:29:27 +0100 (Wed, 27 Jan 2010)
New Revision: 3096

Modified:
   branches/rawstudio-ng-color/librawstudio/rs-metadata.c
Log:
Fixed problem with saving metadata cache - missing argument in 
xmlTextWriterFormatElement().

Modified: branches/rawstudio-ng-color/librawstudio/rs-metadata.c
===================================================================
--- branches/rawstudio-ng-color/librawstudio/rs-metadata.c      2010-01-27 
16:50:02 UTC (rev 3095)
+++ branches/rawstudio-ng-color/librawstudio/rs-metadata.c      2010-01-27 
19:29:27 UTC (rev 3096)
@@ -176,7 +176,7 @@
                if (metadata->lens_max_aperture > -1.0)
                        xmlTextWriterWriteFormatElement(writer, BAD_CAST 
"lens_max_aperture", "%f", metadata->lens_max_aperture);
                if (metadata->lens_identifier)
-                       xmlTextWriterWriteFormatElement(writer, BAD_CAST 
"lens_identifier", metadata->lens_identifier);
+                       xmlTextWriterWriteFormatElement(writer, BAD_CAST 
"lens_identifier", "%s", metadata->lens_identifier);
                xmlTextWriterEndDocument(writer);
                xmlFreeTextWriter(writer);
        }


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

Reply via email to