X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/1e5bde5446c67b3efb1e17a154684e9a55e89abe..e35fb54b2ce23c668414c0f5cd072c709374fc6d:/mac/macterm.c diff --git a/mac/macterm.c b/mac/macterm.c index b9b3f9ef..88eb2668 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $Id: macterm.c,v 1.73 2003/04/12 21:06:34 ben Exp $ */ +/* $Id: macterm.c,v 1.75 2003/05/04 14:18:18 simon Exp $ */ /* * 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) { - char *errmsg; + const char *errmsg; 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 - CQDProcsPtr gp = GetPortGrafProcs(GetWindowPort(s->window));; + CQDProcsPtr gp = GetPortGrafProcs(GetWindowPort(s->window)); #else - QDProcsPtr gp = s->window->grafProcs;; + QDProcsPtr gp = s->window->grafProcs; #endif numer.v = denom.v = 1; /* always */