mirror of https://github.com/GNOME/gimp.git
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:
parent
7c652c0e28
commit
d9b2478cca
|
@ -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):
|
||||
|
|
|
@ -299,7 +299,7 @@ themes_list_themes_foreach (gpointer key,
|
|||
|
||||
**index = g_strdup ((gchar *) key);
|
||||
|
||||
*index = (*index)++;
|
||||
(*index)++;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue