the toolbox menu's last_used_documents menu contained one entry too few if

2001-11-13  Michael Natterer  <mitch@gimp.org>

	* app/gui/menus.c: the toolbox menu's last_used_documents menu
	contained one entry too few if the number of documents was smaller
	or equal than gimprc.last_opened_size.
This commit is contained in:
Michael Natterer
2001-11-13 16:56:58 +00:00
committed by Michael Natterer
parent 6ed7523052
commit eb05a0e3fc
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2001-11-13 Michael Natterer <mitch@gimp.org>
* app/gui/menus.c: the toolbox menu's last_used_documents menu
contained one entry too few if the number of documents was smaller
or equal than gimprc.last_opened_size.
2001-11-13 Michael Natterer <mitch@gimp.org>
* app/tools/gimppainttool.[ch]: use GimpCoords structs for

View File

@ -2459,7 +2459,7 @@ menus_last_opened_update_labels (GimpContainer *container,
g_free (path_str);
if (i < num_documents - 1)
if (i < num_documents)
{
GimpImagefile *imagefile;

View File

@ -2459,7 +2459,7 @@ menus_last_opened_update_labels (GimpContainer *container,
g_free (path_str);
if (i < num_documents - 1)
if (i < num_documents)
{
GimpImagefile *imagefile;

View File

@ -2459,7 +2459,7 @@ menus_last_opened_update_labels (GimpContainer *container,
g_free (path_str);
if (i < num_documents - 1)
if (i < num_documents)
{
GimpImagefile *imagefile;