- Don't call all the toolbox init routines.
- No balloon help, so removed help code from the initial dialog.
#include <profiler.h>
#endif
#endif
+#include <unistd.h>
#ifdef THINK_C
#include <console.h>
#ifdef THINK_C
printf("\n");
#else
+#ifndef TARGET_API_MAC_CARBON
+ /* These aren't needed for carbon */
MaxApplZone();
InitGraf(&qd.thePort);
InitFonts();
TEInit();
InitDialogs((long)0);
InitMenus();
+#endif
InitCursor();
init_appearance();
#endif
DisposeDialog(dialog);
exit(0);
}
+#ifndef TARGET_API_MAC_CARBON
if ( item == OPT_HELP ) {
HMSetBalloons(!HMGetBalloons());
}
+#endif
if ( item == OPT_CMDLINE ) {
int new_argc, newer_argc;
char **new_argv, **newer_argv;