-/* $Id: macterm.c,v 1.23 2002/12/13 00:02:48 ben Exp $ */
+/* $Id: macterm.c,v 1.25 2002/12/28 22:25:31 ben Exp $ */
/*
* Copyright (c) 1999 Simon Tatham
* Copyright (c) 1999, 2002 Ben Harris
static void display_resource(Session *s, unsigned long type, short id) {
Handle h;
- int len, i;
+ int len;
char *t;
h = GetResource(type, id);
Session *s;
UInt32 starttime;
char msg[128];
- OSErr err;
/* This should obviously be initialised by other means */
s = smalloc(sizeof(*s));
Str255 macfont;
FontInfo fi;
TextEncoding enc;
- OSStatus err;
SetPort(s->window);
macfont[0] = sprintf((char *)&macfont[1], "%s", s->cfg.font);
}
static void mac_initpalette(Session *s) {
- int i;
if (!HAVE_COLOR_QD())
return;