mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
In term_init(), copy stuff out of the conf _before_ calling
power_on(), since the latter calls term_schedule_cblink which expects term->blink_cur to have been initialised. [originally from svn r9278]
This commit is contained in:
parent
9da44eeb26
commit
c68a646c64
@ -1538,6 +1538,8 @@ Terminal *term_init(Conf *myconf, struct unicode_data *ucsdata,
|
||||
term->selstate = NO_SELECTION;
|
||||
term->curstype = 0;
|
||||
|
||||
term_copy_stuff_from_conf(term);
|
||||
|
||||
term->screen = term->alt_screen = term->scrollback = NULL;
|
||||
term->tempsblines = 0;
|
||||
term->alt_sblines = 0;
|
||||
@ -1576,8 +1578,6 @@ Terminal *term_init(Conf *myconf, struct unicode_data *ucsdata,
|
||||
term->basic_erase_char.cc_next = 0;
|
||||
term->erase_char = term->basic_erase_char;
|
||||
|
||||
term_copy_stuff_from_conf(term);
|
||||
|
||||
return term;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user