mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-19 08:52:15 +01:00
Fixed possible NPE
This commit is contained in:
parent
ffba05fd31
commit
503ebd6a48
@ -27,6 +27,6 @@ public class OSUtils {
|
||||
}
|
||||
|
||||
static public boolean hasMacOSStyleMenus() {
|
||||
return OSUtils.isMacOS() && System.getProperty("apple.laf.useScreenMenuBar").equals("true");
|
||||
return OSUtils.isMacOS() && "true".equals(System.getProperty("apple.laf.useScreenMenuBar"));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user