[tracker/writeback] Fixed array index out of bounds error message from exempi
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/writeback] Fixed array index out of bounds error message from exempi
- Date: Wed, 18 Nov 2009 12:37:23 +0000 (UTC)
commit a696c6cdaae68e793eb40c3b5a8b2fbde27b8c57
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]