The logging module now contains a local copy of cfg too.
[u/mdw/putty] / unix / pterm.c
index 9fea217..9189385 100644 (file)
@@ -2407,7 +2407,7 @@ int main(int argc, char **argv)
     show_mouseptr(inst, 1);
 
     inst->term = term_init(&cfg, inst);
-    inst->logctx = log_init(inst);
+    inst->logctx = log_init(inst, &cfg);
     term_provide_logctx(inst->term, inst->logctx);
 
     inst->back = &pty_backend;