mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05:00
Add a "Config *" argument to term_init(), and use that instead of the global
cfg throughout the terminal emulator. Not tested in PuTTY and pterm, but they just pass in &cfg. [originally from svn r2248]
This commit is contained in:
@ -2101,7 +2101,7 @@ int main(int argc, char **argv)
|
||||
inst->currcursor = inst->textcursor;
|
||||
show_mouseptr(inst, 1);
|
||||
|
||||
inst->term = term_init(inst);
|
||||
inst->term = term_init(&cfg, inst);
|
||||
inst->logctx = log_init(inst);
|
||||
term_provide_logctx(inst->term, inst->logctx);
|
||||
|
||||
|
Reference in New Issue
Block a user