[xorg-commit-diffs] xc/programs/Xserver/hw/xwin windialogs.c, 1.1.6.9, 1.1.6.10

Earle Philhower xorg-commit at pdx.freedesktop.org
Mon Mar 29 23:46:43 PST 2004


Committed by: earle


Index: windialogs.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/windialogs.c,v
retrieving revision 1.1.6.9
retrieving revision 1.1.6.10
diff -u -d -r1.1.6.9 -r1.1.6.10
--- a/windialogs.c	29 Mar 2004 09:59:29 -0000	1.1.6.9
+++ b/windialogs.c	30 Mar 2004 07:46:40 -0000	1.1.6.10
@@ -129,10 +129,13 @@
 winURLWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
 {
   WNDPROC origCB = NULL;
+  HCURSOR cursor;
   
   /* If it's a SetCursor message, tell it to the hand */
   if (msg==WM_SETCURSOR) {
-    SetCursor(LoadCursor(NULL, IDC_HAND));
+    cursor = LoadCursor (NULL, IDC_HAND);
+    if (cursor)
+      SetCursor (cursor);
     return TRUE;
   }
   origCB = (WNDPROC)GetWindowLong (hwnd, GWL_USERDATA);




More information about the xorg-commit-diffs mailing list