Add a "Config *" argument to term_init(), and use that instead of the global
[u/mdw/putty] / window.c
index 11e199d..4bfec69 100644 (file)
--- a/window.c
+++ b/window.c
@@ -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);