mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Don't call changed_preset() until after we've initialised
fe->copy_menu_item. [originally from svn r8163]
This commit is contained in:
3
gtk.c
3
gtk.c
@ -1689,7 +1689,6 @@ static frontend *new_window(char *arg, int argtype, char **error)
|
||||
} else
|
||||
fe->preset_custom_bullet = NULL;
|
||||
|
||||
changed_preset(fe);
|
||||
} else {
|
||||
fe->npresets = 0;
|
||||
fe->preset_bullets = NULL;
|
||||
@ -1745,6 +1744,8 @@ static frontend *new_window(char *arg, int argtype, char **error)
|
||||
GTK_SIGNAL_FUNC(menu_about_event), fe);
|
||||
gtk_widget_show(menuitem);
|
||||
|
||||
changed_preset(fe);
|
||||
|
||||
{
|
||||
int i, ncolours;
|
||||
float *colours;
|
||||
|
Reference in New Issue
Block a user