Commit in reactos/subsys/win32k/ntuser on MAIN
focus.c+2-21.23 -> 1.24
don't use the pointer if it's NULL...

reactos/subsys/win32k/ntuser
focus.c 1.23 -> 1.24
diff -u -r1.23 -r1.24
--- focus.c	20 Jun 2004 22:25:14 -0000	1.23
+++ focus.c	23 Jun 2004 15:38:07 -0000	1.24
@@ -16,7 +16,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: focus.c,v 1.23 2004/06/20 22:25:14 gvg Exp $
+ * $Id: focus.c,v 1.24 2004/06/23 15:38:07 weiden Exp $
  */
 
 #include <w32k.h>
@@ -452,7 +452,7 @@
       if (Window->Style & (WS_MINIMIZE | WS_DISABLED))
       {
          IntReleaseWindowObject(Window);
-         return ThreadQueue ? 0 : ThreadQueue->FocusWindow;
+         return (ThreadQueue ? ThreadQueue->FocusWindow : 0);
       }
 
       if (Window->MessageQueue != ThreadQueue)
CVSspam 0.2.8