[tracker/writeback: 19/23] Fixed array index out of bounds error message from exempi



commit 1438d5a0ce88b44848903a3cde51e49be60f7321
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Nov 18 13:35:55 2009 +0100

    Fixed array index out of bounds error message from exempi

 src/tracker-writeback/tracker-writeback-xmp.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-xmp.c b/src/tracker-writeback/tracker-writeback-xmp.c
index 6c4a156..db4b527 100644
--- a/src/tracker-writeback/tracker-writeback-xmp.c
+++ b/src/tracker-writeback/tracker-writeback-xmp.c
@@ -146,10 +146,9 @@ tracker_writeback_xmp_update_file_metadata (TrackerWritebackFile *writeback_file
 			xmp_delete_property (xmp, NS_EXIF, "Title");
 			xmp_set_property(xmp, NS_EXIF, "Title", row[2], 0);
 
-			/* I have no idea why I have to set these, but without
+			/* I have no idea why I have to set this, but without
 			 * it seems that exiftool doesn't see the change */
-			xmp_set_array_item(xmp, NS_DC, "title", 0, row[2], 0);
-			xmp_set_array_item(xmp, NS_DC, "title", 1, row[2], 0);
+			 xmp_set_array_item(xmp, NS_DC, "title", 1, row[2], 0); 
 
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]