diff options
-rw-r--r-- | awt/native.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/awt/native.cs b/awt/native.cs index e342c2b8..41be3473 100644 --- a/awt/native.cs +++ b/awt/native.cs @@ -448,7 +448,7 @@ namespace IKVM.NativeCode.sun.awt.shell [System.Security.SecurityCritical] public static IntPtr getNextPIDLEntry(IntPtr pIDL) { - if (pIDL == null) + if (pIDL == IntPtr.Zero) { return IntPtr.Zero; } @@ -476,7 +476,7 @@ namespace IKVM.NativeCode.sun.awt.shell [System.Security.SecurityCritical] public static IntPtr copyFirstPIDLEntry(IntPtr pIDL) { - if (pIDL == null) + if (pIDL == IntPtr.Zero) { return IntPtr.Zero; } |