Author: abrander
Date: 2010-01-28 19:10:40 +0100 (Thu, 28 Jan 2010)
New Revision: 3111
Modified:
branches/rawstudio-ng-color/src/rs-library.c
Log:
Don't call rs_normalize_path() from rs_library_restore_tags(), input should be
normalized.
Modified: branches/rawstudio-ng-color/src/rs-library.c
===================================================================
--- branches/rawstudio-ng-color/src/rs-library.c 2010-01-28 18:02:49 UTC
(rev 3110)
+++ branches/rawstudio-ng-color/src/rs-library.c 2010-01-28 18:10:40 UTC
(rev 3111)
@@ -1157,7 +1157,7 @@
xmlChar *val;
gint version;
- gchar *filename, *identifier, *tagname, *temp;
+ gchar *filename, *identifier, *tagname;
gint autotag, photoid, tagid;
doc = xmlParseFile(tagfile);
@@ -1176,9 +1176,7 @@
if ((!xmlStrcmp(cur->name, BAD_CAST "file")))
{
val = xmlGetProp(cur, BAD_CAST "name");
- temp = g_build_filename(directory, val, NULL);
- filename = rs_normalize_path(temp);
- g_free(temp);
+ filename = g_build_filename(directory, val, NULL);
xmlFree(val);
photoid = library_find_photo_id(library, filename);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit