mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-26 09:42:25 +00:00
Oops; prevent further segfault during setup, which apparently only
show up when building without debugging... [originally from svn r7991]
This commit is contained in:
parent
92caf21c2c
commit
cb18f9a6eb
@ -2139,6 +2139,7 @@ unifontsel *unifontsel_new(const char *wintitle)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
fs->inhibit_response = FALSE;
|
fs->inhibit_response = FALSE;
|
||||||
|
fs->selected = NULL;
|
||||||
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
@ -2400,7 +2401,6 @@ unifontsel *unifontsel_new(const char *wintitle)
|
|||||||
*/
|
*/
|
||||||
unifontsel_setup_familylist(fs);
|
unifontsel_setup_familylist(fs);
|
||||||
|
|
||||||
fs->selected = NULL;
|
|
||||||
fs->selsize = fs->intendedsize = 13; /* random default */
|
fs->selsize = fs->intendedsize = 13; /* random default */
|
||||||
gtk_widget_set_sensitive(fs->u.ok_button, FALSE);
|
gtk_widget_set_sensitive(fs->u.ok_button, FALSE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user