Mercurial > geeqie
diff src/info.c @ 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 | f6e307c7bad6 |
| children | 79ef86f3b325 |
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);
