~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Close the host keys file after use. Well spotted Theo Markettos.
[sgt/putty]
/
mac
/
macterm.c
diff --git
a/mac/macterm.c
b/mac/macterm.c
index
b9b3f9e
..
88eb266
100644
(file)
--- a/
mac/macterm.c
+++ b/
mac/macterm.c
@@
-1,4
+1,4
@@
-/* $Id: macterm.c,v 1.7
3 2003/04/12 21:06:34 be
n Exp $ */
+/* $Id: macterm.c,v 1.7
5 2003/05/04 14:18:18 simo
n Exp $ */
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
@@
-105,7
+105,7
@@
void post_paint(Session *s);
void mac_startsession(Session *s)
{
void mac_startsession(Session *s)
{
- char *errmsg;
+ c
onst c
har *errmsg;
int i;
WinInfo *wi;
int i;
WinInfo *wi;
@@
-193,9
+193,9
@@
static void mac_workoutfontscale(Session *s, int wantwidth,
const char text = 'W';
FontInfo fi;
#if TARGET_API_MAC_CARBON
const char text = 'W';
FontInfo fi;
#if TARGET_API_MAC_CARBON
- CQDProcsPtr gp = GetPortGrafProcs(GetWindowPort(s->window));
;
+ CQDProcsPtr gp = GetPortGrafProcs(GetWindowPort(s->window));
#else
#else
- QDProcsPtr gp = s->window->grafProcs;
;
+ QDProcsPtr gp = s->window->grafProcs;
#endif
numer.v = denom.v = 1; /* always */
#endif
numer.v = denom.v = 1; /* always */