mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
The back ends now contain their own copies of the Config structure,
and have a function to pass in a new one. (Well, actually several back ends don't actually bother to do this because they need nothing out of Config after the initial setup phase, but they could if they wanted to.) [originally from svn r2561]
This commit is contained in:
@ -2411,7 +2411,8 @@ int main(int argc, char **argv)
|
||||
term_provide_logctx(inst->term, inst->logctx);
|
||||
|
||||
inst->back = &pty_backend;
|
||||
inst->back->init((void *)inst->term, &inst->backhandle, NULL, 0, NULL, 0);
|
||||
inst->back->init((void *)inst->term, &inst->backhandle, &cfg,
|
||||
NULL, 0, NULL, 0);
|
||||
inst->back->provide_logctx(inst->backhandle, inst->logctx);
|
||||
|
||||
term_provide_resize_fn(inst->term, inst->back->size, inst->backhandle);
|
||||
|
Reference in New Issue
Block a user