1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Add a minimalist settings dialogue, which contains a single button

marked "open".  Still, it seems to work.

[originally from svn r2392]
This commit is contained in:
Ben Harris
2002-12-31 01:40:14 +00:00
parent d807c97bfd
commit 6c1c86f23d
7 changed files with 143 additions and 21 deletions

View File

@ -1,4 +1,4 @@
/* $Id: macterm.c,v 1.26 2002/12/30 18:21:17 ben Exp $ */
/* $Id: macterm.c,v 1.27 2002/12/31 01:40:14 ben Exp $ */
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
@ -137,18 +137,6 @@ static void display_resource(Session *s, unsigned long type, short id) {
DisposeHandle(h);
}
void mac_newsession(void) {
Session *s;
/* This should obviously be initialised by other means */
s = smalloc(sizeof(*s));
memset(s, 0, sizeof(*s));
do_defaults(NULL, &s->cfg);
s->back = &loop_backend;
mac_startsession(s);
}
void mac_opensession(void) {
Session *s;
StandardFileReply sfr;