fixed a minor issue when selecting GUI/NOGUI

This commit is contained in:
Morlok8k 2012-09-16 17:22:03 -07:00
parent 860a5f72b2
commit 7ab21083df

View File

@ -73,7 +73,7 @@ public class Main {
}
//MLG_GUI Choosing code...
if (!java.awt.GraphicsEnvironment.isHeadless() || (!NOGUI)) {
if ((!NOGUI) && (!java.awt.GraphicsEnvironment.isHeadless())) {
GUI = true;
if (var.testing) {
Out.outD("MLG_GUI: This is a graphical enviroment.");