changeset 231:f9b2183acd62

Fix OS.HIWORD, has cause a bug in Menu Show/Hide event.
author Frank Benoit <benoit@tionex.de>
date Sun, 01 Jun 2008 11:06:38 +0200
parents c853f6513712
children 387fe83aa839
files dwt/internal/win32/OS.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/internal/win32/OS.d	Sat May 24 08:59:14 2008 +0200
+++ b/dwt/internal/win32/OS.d	Sun Jun 01 11:06:38 2008 +0200
@@ -3487,7 +3487,7 @@
     return l & 0xFFFF;
 }
 public static int HIWORD (int /*long*/ h){
-    return h >> 16;
+    return h >>> 16;
 }
 //public static bool LPtoDP (int /*long*/ hdc, POINT lpPoints, int nCount);
 public static int MAKEWORD(int l, int h){