Explorar el Código

Detect OS X better.

Change-Id: Iebdb477a3763c4958ea34e9ccdafcbafbc5ddff8
Reviewed-on: http://gerrit.dmdirc.com/3068
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
tags/0.8
Shane Mc Cormack hace 10 años
padre
commit
faff907f8d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/com/dmdirc/addons/ui_swing/Apple.java

+ 1
- 1
src/com/dmdirc/addons/ui_swing/Apple.java Ver fichero

@@ -168,7 +168,7 @@ public class Apple implements InvocationHandler {
168 168
      * @return true if we are running on OS X
169 169
      */
170 170
     public static boolean isApple() {
171
-        return (System.getProperty("mrj.version") != null);
171
+        return System.getProperty("os.name").contains("OS X");
172 172
     }
173 173
 
174 174
     /**

Loading…
Cancelar
Guardar