Skip to content

Commit

Permalink
Fix display of image number in properties dialog when more than one i…
Browse files Browse the repository at this point in the history
…mage is selected.
  • Loading branch information
Laurent Monin committed Apr 1, 2008
1 parent 46b7281 commit 9c13e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/info.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ static void info_window_sync(InfoData *id, FileData *fd)
{
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);
Expand Down

0 comments on commit 9c13e12

Please sign in to comment.