Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d843a01

Browse files
committed
Removed temporary code that always set creator to SimpleText.
1 parent a179503 commit d843a01

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Mac/Python/gusiconfig.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@ void GUSISetupFactories()
4848
#ifdef GUSISetupFactories_BeginHook
4949
GUSISetupFactories_BeginHook
5050
#endif
51-
// GUSIwithInetSockets();
51+
#if TARGET_API_MAC_CARBON
52+
GUSIwithInetSockets();
53+
#else
5254
GUSIwithMTInetSockets();
55+
#endif
5356
#ifdef GUSISetupFactories_EndHook
5457
GUSISetupFactories_EndHook
5558
#endif
@@ -119,9 +122,11 @@ extern "C" void GUSISetupConfig()
119122
if ( prefrh != -1) CloseResFile(prefrh);
120123
UseResFile(oldrh);
121124

122-
config->ConfigureDefaultTypeCreator('TEXT', 'ttxt');
125+
config->ConfigureDefaultTypeCreator('TEXT', 'R*ch');
126+
#if 0
123127
config->ConfigureSuffices(
124128
sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
129+
#endif
125130
config->ConfigureAutoInitGraf(false);
126131
config->ConfigureAutoSpin(false);
127132
config->ConfigureHandleAppleEvents(false);

0 commit comments

Comments
 (0)