mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
fixed small bug in WinPosSetActiveWindow()
svn path=/trunk/; revision=6395
This commit is contained in:
parent
79a459f094
commit
b8054aafb3
1 changed files with 3 additions and 2 deletions
|
@ -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: winpos.c,v 1.34 2003/10/20 14:00:58 weiden Exp $
|
||||
/* $Id: winpos.c,v 1.35 2003/10/21 19:40:05 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -1246,7 +1246,8 @@ WinPosSetActiveWindow(PWINDOW_OBJECT Window, BOOL Mouse, BOOL ChangeFocus)
|
|||
}
|
||||
else
|
||||
{
|
||||
ActiveQueue->ActiveWindow = NULL;
|
||||
if(ActiveQueue)
|
||||
ActiveQueue->ActiveWindow = NULL;
|
||||
PrevActive = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue