diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-02-28 15:42:47 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-02-28 15:42:47 (GMT) |
commit | 01fbc688967f4d68e2a080dd0de56c582e220432 (patch) | |
tree | 08f786705dc11d6c25fb733ff7d5996500d4f2e0 /Mac/Python/macgetargv.c | |
parent | dc1c64a148cc8b1ec57bf72020b001221fe62bb0 (diff) | |
download | cpython-01fbc688967f4d68e2a080dd0de56c582e220432.zip cpython-01fbc688967f4d68e2a080dd0de56c582e220432.tar.gz cpython-01fbc688967f4d68e2a080dd0de56c582e220432.tar.bz2 |
- Reorganized init code
- Fixed serious bug in code to get options from a resource
Diffstat (limited to 'Mac/Python/macgetargv.c')
-rw-r--r-- | Mac/Python/macgetargv.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Mac/Python/macgetargv.c b/Mac/Python/macgetargv.c index 90cdb5a..96a02fd 100644 --- a/Mac/Python/macgetargv.c +++ b/Mac/Python/macgetargv.c @@ -295,31 +295,12 @@ event_loop() } } -/* Initialize the Mac toolbox world */ - -static void -init_mac_world() -{ -#ifdef THINK_C - printf("\n"); -#else - MaxApplZone(); - InitGraf(&qd.thePort); - InitFonts(); - InitWindows(); - TEInit(); - InitDialogs((long)0); - InitMenus(); - InitCursor(); -#endif -} /* Get the argv vector, return argc */ int PyMac_GetArgv(pargv) char ***pargv; { - init_mac_world(); arg_count = 0; arg_vector[arg_count++] = strdup(get_application_name()); |