Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--awt/native.cs4
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;
}