commit f92519dd2e54862d9bde025237089ad82f22f077 parent 4c33241868a3a866c2c9f0ec5146a42d6fdc1847 Author: fundamental <mark.d.mccurry@gmail.com> Date: Sun, 2 May 2010 15:36:27 -0400 Fixed no UI crash Diffstat:
M | src/main.cpp | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/main.cpp b/src/main.cpp @@ -85,6 +85,8 @@ void *thread3(void *arg) #ifndef DISABLE_GUI #ifdef FLTK_GUI + + ui = new MasterUI(master, &Pexitprogram); ui->showUI(); while(Pexitprogram == 0) { @@ -209,9 +211,6 @@ void initprogram() cout << "\nThanks for using the Nio system :)" << endl; -#ifndef DISABLE_GUI - ui = new MasterUI(master, &Pexitprogram); -#endif } /*