Display Frame numbers from 1 to n instead of 0 to n-1. Less confusing for

2004-03-04  Simon Budig  <simon@gimp.org>

	* plug-ins/common/animationplay.c: Display Frame numbers from
	1 to n instead of 0 to n-1. Less confusing for the user.

	Fixes bug #136124
This commit is contained in:
Simon Budig 2004-03-04 11:56:17 +00:00 committed by Simon Budig
parent 65b0598aed
commit 7a7a6a2a20
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2004-03-04 Simon Budig <simon@gimp.org>
* plug-ins/common/animationplay.c: Display Frame numbers from
1 to n instead of 0 to n-1. Less confusing for the user.
Fixes bug #136124
2004-03-04 Sven Neumann <sven@gimp.org>
* Made 2.0pre4 release.

View File

@ -1238,7 +1238,7 @@ show_frame (void)
gtk_progress_bar_set_fraction (progress,
((float)frame_number / (float)(total_frames-0.999)));
text = g_strdup_printf (_("Frame %d of %d"), frame_number, total_frames);
text = g_strdup_printf (_("Frame %d of %d"), frame_number + 1, total_frames);
gtk_progress_bar_set_text (progress, text);
g_free (text);
}