LinuxDisplay.java: Fixed missing return

This commit is contained in:
Elias Naur 2008-04-13 18:13:26 +00:00
parent 9aefad3f09
commit 86515f96a0

View file

@ -285,7 +285,7 @@ final class LinuxDisplay implements DisplayImplementation {
String error_msg = getErrorText(display, error_code);
throw new LWJGLException("X Error - disp: 0x" + Long.toHexString(error_display) + " serial: " + serial + " error: " + error_msg + " request_code: " + request_code + " minor_code: " + minor_code);
} else if (saved_error_handler != 0)
callErrorHandler(saved_error_handler, display, event_ptr);
return callErrorHandler(saved_error_handler, display, event_ptr);
return 0;
}
private static native String getErrorText(long display, long error_code);