tweaks for linux

This commit is contained in:
benfry
2002-07-31 01:54:11 +00:00
parent d329c22494
commit 72d7934489

View File

@@ -58,9 +58,13 @@ public class PdeBase implements ActionListener {
//System.out.println("osname is " + osname);
if (osname.indexOf("Windows") != -1) {
platform = WINDOWS;
} else if (osname.equals("Linux")) { // true for the ibm vm
platform = LINUX;
} else {
platform = WINDOWS; // probably safest
System.out.println("unhandled osname: " + osname);
System.exit(1);
}
}
}