mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Having laid all the groundwork, we can now remove the global `cfg'
completely from putty.h. It's now static in each of the command-line front ends, shared only between window.c and windlg.c in PuTTY proper (I've tested this by doing #define cfg cfgsillyname in those two files only, and it still links so nobody else is using that symbol!), and part of the `inst' structure in pterm. I think that only leaves the Unicode module as the last stubborn holdout in the anti-global-variables campaign. [originally from svn r2568]
This commit is contained in:
@ -72,6 +72,7 @@ struct termios orig_termios;
|
||||
|
||||
static Backend *back;
|
||||
static void *backhandle;
|
||||
static Config cfg;
|
||||
|
||||
/*
|
||||
* Default settings that are specific to pterm.
|
||||
|
Reference in New Issue
Block a user