1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 22:12:47 -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:
Ben Harris
2002-11-23 19:01:01 +00:00
parent 7b0352362c
commit 8280e645e4
6 changed files with 73 additions and 70 deletions

View File

@ -506,7 +506,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
hwnd = NULL;
term = term_init(NULL);
term = term_init(&cfg, NULL);
logctx = log_init(NULL);
term_provide_logctx(term, logctx);