1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-15 01:57:40 -05:00

Added saved sessions submenu from system menu.

[originally from svn r263]
This commit is contained in:
Owen Dunn
1999-10-28 16:07:25 +00:00
parent a019c66786
commit 9fc2b746b0
3 changed files with 26 additions and 9 deletions

View File

@ -15,8 +15,6 @@
static const char *const puttystr = PUTTY_REG_POS "\\Sessions";
static void get_sesslist(int allocate);
static char **negots = NULL;
static int nnegots = 0, negsize = 0;
static HWND logbox = NULL, abtbox = NULL;
@ -95,9 +93,6 @@ static void gppi(HKEY key, LPCTSTR name, int def, int *i) {
static HINSTANCE hinst;
static char **sessions;
static int nsessions;
static int readytogo;
static void save_settings (char *section, int do_host) {
@ -1225,7 +1220,7 @@ static int CALLBACK ReconfDlgProc (HWND hwnd, UINT msg,
RECONF_NPANELS, reconfp, &page);
}
static void get_sesslist(int allocate) {
void get_sesslist(int allocate) {
static char *buffer;
int buflen, bufsize, i, ret;
char otherbuf[2048];