diff --git a/Makefile.mpw b/Makefile.mpw index bd54e03f..380a8b84 100644 --- a/Makefile.mpw +++ b/Makefile.mpw @@ -1,4 +1,4 @@ -# $Id: Makefile.mpw,v 1.1.2.6 1999/03/28 17:34:36 ben Exp $ +# $Id: Makefile.mpw,v 1.1.2.7 1999/03/29 23:55:06 ben Exp $ # This is the Makefile for building PuTTY for the Mac OS. # Users of non-Mac systems will see some pretty strange characters around. @@ -58,7 +58,7 @@ Libs LibsĄPPC = "{SharedLibraries}InterfaceLib" ¶ "{SharedLibraries}StdCLib" ¶ "{SharedLibraries}MathLib" ¶ - "{SharedLibraries}AppearanceLib" ¶ + "{SharedLibraries}AppearanceLib" -weaklib AppearanceLib ¶ "{PPCLibraries}StdCRuntime.o" ¶ "{PPCLibraries}PPCCRuntime.o" diff --git a/README.mac b/README.mac index bd761c1f..71658444 100644 --- a/README.mac +++ b/README.mac @@ -1,4 +1,4 @@ -$Id: README.mac,v 1.1.2.1 1999/03/29 19:51:40 ben Exp $ +$Id: README.mac,v 1.1.2.2 1999/03/29 23:55:06 ben Exp $ Information about PuTTY for the Mac OS -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= @@ -6,7 +6,7 @@ Information about PuTTY for the Mac OS Known bugs: * PowerPC and fat versions fail to start on systems without AppearanceLib (ie - most System 7 ones). The 68k version works fine. + most System 7 ones). The 68k version works fine. [MAYBE FIXED] * If the screen scrolls more than once between calls to WaitNextEvent, Bad Things can happen owing to a bug in do_scroll. This can be fixed when I have an easy way to test it. diff --git a/mac.c b/mac.c index 48187ec5..8b4e8c2b 100644 --- a/mac.c +++ b/mac.c @@ -1,4 +1,4 @@ -/* $Id: mac.c,v 1.1.2.20 1999/03/29 19:50:22 ben Exp $ */ +/* $Id: mac.c,v 1.1.2.21 1999/03/29 23:55:06 ben Exp $ */ /* * Copyright (c) 1999 Ben Harris * All rights reserved. @@ -117,6 +117,9 @@ static void mac_startup(void) { mac_gestalts.apprvers = 0x0100; else mac_gestalts.apprvers = 0; + /* Paranoia: Did we manage to pull in AppearanceLib? */ + if (&RegisterAppearanceClient == NULL) + mac_gestalts.apprvers = 0; /* Mac OS 8.5 Control Manager (proportional scrollbars)? */ if (Gestalt(gestaltControlMgrAttr, &mac_gestalts.cntlattr) != noErr) mac_gestalts.cntlattr = 0;