mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-07 01:09:56 +01:00
Don't allow null strings in Sys.alert()
This commit is contained in:
parent
ed3acebaa5
commit
73552e3d51
|
|
@ -210,6 +210,10 @@ public final class Sys {
|
|||
if (grabbed) {
|
||||
Mouse.setGrabbed(false);
|
||||
}
|
||||
if (title == null)
|
||||
title = "";
|
||||
if (message == null)
|
||||
message = "";
|
||||
String osName = System.getProperty("os.name");
|
||||
if (osName.startsWith("Windows")) {
|
||||
nAlert(title, message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue