Fix undefined behaviour. Fixes crash in bringing up the Preferences dialog

2004-01-21  Tor Lillqvist  <tml@iki.fi>

	* app/gui/themes.c (themes_list_themes_foreach): Fix undefined
	behaviour. Fixes crash in bringing up the Preferences dialog when
	compiled with Sun's compiler.
This commit is contained in:
Tor Lillqvist 2004-01-21 12:03:26 +00:00 committed by Tor Lillqvist
parent 7c652c0e28
commit d9b2478cca
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-01-21 Tor Lillqvist <tml@iki.fi>
* app/gui/themes.c (themes_list_themes_foreach): Fix undefined
behaviour. Fixes crash in bringing up the Preferences dialog when
compiled with Sun's compiler.
2004-01-21 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):

View File

@ -299,7 +299,7 @@ themes_list_themes_foreach (gpointer key,
**index = g_strdup ((gchar *) key);
*index = (*index)++;
(*index)++;
}
static void