changeset 219:92d2444893b8

Fix display of image number in properties dialog when more than one image is selected.
author zas_
date Tue, 01 Apr 2008 07:42:31 +0000
parents f4a0555794a9
children 7670d5653e1f
files src/info.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);