Converted System.getenv() to Boolean.getBoolean to please the blackdown VM

This commit is contained in:
Elias Naur 2006-01-04 07:36:08 +00:00
parent c9f35b917d
commit 033dc40a89
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ final class LinuxDisplay implements DisplayImplementation {
}
private static boolean isXrandrSupported() {
if (System.getenv("LWJGL_DISABLE_XRANDR") != null)
if (Boolean.getBoolean("LWJGL_DISABLE_XRANDR"))
return false;
lockAWT();
try {
@ -159,7 +159,7 @@ final class LinuxDisplay implements DisplayImplementation {
private static native boolean nIsXF86VidModeSupported() throws LWJGLException;
private static boolean isNetWMFullscreenSupported() throws LWJGLException {
if (System.getenv("LWJGL_DISABLE_NETWM") != null)
if (Boolean.getBoolean("LWJGL_DISABLE_NETWM"))
return false;
lockAWT();
try {