diff os2/dw.c @ 337:e9a424e641ff

Some pointer changes.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 10 Apr 2003 12:33:29 +0000
parents a2f72b5d5d0a
children 4029240b5e63
line wrap: on
line diff
--- a/os2/dw.c	Thu Apr 10 12:05:36 2003 +0000
+++ b/os2/dw.c	Thu Apr 10 12:33:29 2003 +0000
@@ -3551,9 +3551,10 @@
 void API dw_window_pointer(HWND handle, int pointertype)
 {
 	WinSetPointer(handle,
+				  pointertype < 65535 ?
 				  WinQuerySysPointer(HWND_DESKTOP,
 									 pointertype,
-									 FALSE));
+									 FALSE) : (HPOINTER)pointertype);
 }
 
 /*