projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a minimalist settings dialogue, which contains a single button
[u/mdw/putty]
/
mac
/
macterm.c
diff --git
a/mac/macterm.c
b/mac/macterm.c
index
2e0f25d
..
6d0904b
100644
(file)
--- a/
mac/macterm.c
+++ b/
mac/macterm.c
@@
-1,4
+1,4
@@
-/* $Id: macterm.c,v 1.2
6 2002/12/30 18:21:17
ben Exp $ */
+/* $Id: macterm.c,v 1.2
7 2002/12/31 01:40:14
ben Exp $ */
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
/*
* 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);
}
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;
void mac_opensession(void) {
Session *s;
StandardFileReply sfr;