From d843a018e94d3083fdc167638cf71b4eb450e29d Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 17 Aug 2000 20:01:24 +0000 Subject: Removed temporary code that always set creator to SimpleText. --- Mac/Python/gusiconfig.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Mac/Python/gusiconfig.cpp b/Mac/Python/gusiconfig.cpp index db46619..8b1a1fa 100644 --- a/Mac/Python/gusiconfig.cpp +++ b/Mac/Python/gusiconfig.cpp @@ -48,8 +48,11 @@ void GUSISetupFactories() #ifdef GUSISetupFactories_BeginHook GUSISetupFactories_BeginHook #endif -// GUSIwithInetSockets(); +#if TARGET_API_MAC_CARBON + GUSIwithInetSockets(); +#else GUSIwithMTInetSockets(); +#endif #ifdef GUSISetupFactories_EndHook GUSISetupFactories_EndHook #endif @@ -119,9 +122,11 @@ extern "C" void GUSISetupConfig() if ( prefrh != -1) CloseResFile(prefrh); UseResFile(oldrh); - config->ConfigureDefaultTypeCreator('TEXT', 'ttxt'); + config->ConfigureDefaultTypeCreator('TEXT', 'R*ch'); +#if 0 config->ConfigureSuffices( sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices); +#endif config->ConfigureAutoInitGraf(false); config->ConfigureAutoSpin(false); config->ConfigureHandleAppleEvents(false); -- cgit v0.12