From 3bbb6ea23426d6ee380868d3d785c00dd3977b87 Mon Sep 17 00:00:00 2001 From: Stelios Bounanos Date: Thu, 28 Jan 2010 04:05:09 +0000 Subject: [PATCH] Fix wizard crash on OS X Disable showing the wizard before the main window on OS X. --- src/main.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main.cxx b/src/main.cxx index 63c52c86..4ea178ae 100644 --- a/src/main.cxx +++ b/src/main.cxx @@ -173,7 +173,13 @@ double speed_test(int converter, unsigned repeat); static void setup_signal_handlers(void); static void checkdirectories(void); -#define SHOW_WIZARD_BEFORE_MAIN_WINDOW 1 +// TODO: find out why fldigi crashes on OS X if the wizard window is +// shown before fldigi_main. +#ifndef __APPLE__ +# define SHOW_WIZARD_BEFORE_MAIN_WINDOW 1 +#else +# define SHOW_WIZARD_BEFORE_MAIN_WINDOW 0 +#endif int main(int argc, char ** argv) {