1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-05 21:42:47 -05:00

Add a Config * argument to ldisc_create(), and use it in place of the global

cfg throughout ldisc.c.  Not tested other than on Mac, but all other ports
just pass &cfg as this argument for now.

[originally from svn r2250]
This commit is contained in:
Ben Harris
2002-11-23 20:02:38 +00:00
parent c0b887a0a2
commit d60ea36673
7 changed files with 24 additions and 21 deletions

View File

@ -644,7 +644,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
/*
* Set up a line discipline.
*/
ldisc = ldisc_create(term, back, backhandle, NULL);
ldisc = ldisc_create(&cfg, term, back, backhandle, NULL);
session_closed = FALSE;