# HG changeset patch # User zas_ # Date 1207035751 0 # Node ID 92d2444893b8b7aa106171d85cccf08097085ca4 # Parent f4a0555794a9cda19ab7536648688f77d400b979 Fix display of image number in properties dialog when more than one image is selected. diff -r f4a0555794a9 -r 92d2444893b8 src/info.c --- a/src/info.c Mon Mar 31 22:10:25 2008 +0000 +++ b/src/info.c Tue Apr 01 07:42:31 2008 +0000 @@ -459,7 +459,7 @@ { gchar *buf; buf = g_strdup_printf(_("Image %d of %d"), - g_list_index(id->list, (gpointer)fd->path) + 1, + g_list_index(id->list, (gpointer)fd) + 1, g_list_length(id->list)); gtk_label_set_text(GTK_LABEL(id->label_count), buf); g_free(buf);