xmpedit

GTK+ editor for XMP metadata embedded in images
git clone https://code.djc.id.au/git/xmpedit/
commit 337aabee7d011a4a5d6ee77b16c1bf00fd35fdc9
parent 13d1f876491f79f0e8540d88280a0ab9df6bad07
Author: Dan Callaghan <djc@djc.id.au>
Date:   Sun, 12 Sep 2010 20:38:17 +1000

oops

Diffstat:
Msrc/ImageMetadata.vala | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ImageMetadata.vala b/src/ImageMetadata.vala
@@ -307,7 +307,7 @@ public class ImageMetadata : Object, Gtk.TreeModel {
     }
     
     public bool iter_nth_child(out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n) {
-        if (parent == null && n < properties.size - 1) {
+        if (parent == null && n <= properties.size - 1) {
             iter = { stamp, (void*) properties[n], null, null };
             return true;
         }