mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
[WIN32SS]
- Fix orthograph - Mention in the code that some stuff are hacks & need to be fixed. - Add parentheses around bit checks. svn path=/trunk/; revision=70713
This commit is contained in:
parent
921fdfd85b
commit
3a3ddebe62
4 changed files with 5 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
* PROJECT: ReactOS Win32k subsystem
|
||||
* PURPOSE: Interface between Win32k and USERSRV
|
||||
* FILE: win32ss/user/ntuser/csr.c
|
||||
* PROGRAMER: Hermes Belusca-Maito (hermes.belusca@sfr.fr), based on
|
||||
* PROGRAMMER: Hermes Belusca-Maito (hermes.belusca@sfr.fr), based on
|
||||
* the original code by Ge van Geldorp (ge@gse.nl) and by
|
||||
* the CSR code in NTDLL.
|
||||
*/
|
||||
|
|
|
@ -397,9 +397,8 @@ UserPaintCaption(PWND pWnd, INT Flags)
|
|||
{
|
||||
BOOL Ret = FALSE;
|
||||
|
||||
if ( pWnd->style & WS_VISIBLE && (pWnd->style & WS_CAPTION) == WS_CAPTION )
|
||||
if ( (pWnd->style & WS_VISIBLE) && ((pWnd->style & WS_CAPTION) == WS_CAPTION) )
|
||||
{
|
||||
|
||||
if (pWnd->state & WNDS_HASCAPTION && pWnd->head.pti->MessageQueue == gpqForeground)
|
||||
Flags |= DC_ACTIVE;
|
||||
/*
|
||||
|
|
|
@ -103,7 +103,7 @@ IntHookModuleUnloaded(PDESKTOP pdesk, int iHookID, HHOOK hHook)
|
|||
|
||||
/* FIXME: Do some more security checks here */
|
||||
|
||||
/* FIXME: The first check is a reactos specific hack for system threads */
|
||||
/* FIXME: HACK: The first check is a reactos specific hack for system threads */
|
||||
if(!PsIsSystemProcess(ptiCurrent->ppi->peProcess) &&
|
||||
ptiCurrent->ppi != ppiCsr)
|
||||
{
|
||||
|
|
|
@ -724,8 +724,8 @@ WinPosFindIconPos(PWND Window, POINT *Pos)
|
|||
pwndParent = Window->spwndParent;
|
||||
if (pwndParent == UserGetDesktopWindow())
|
||||
{
|
||||
ERR("Parent is Desktop, Min off screen!\n");
|
||||
/* ReactOS doesn't support iconic minimize to desktop */
|
||||
ERR("FIXME: Parent is Desktop, Min off screen!\n");
|
||||
/* FIXME: ReactOS doesn't support iconic minimize to desktop */
|
||||
Pos->x = Pos->y = -32000;
|
||||
Window->InternalPos.flags |= WPF_MININIT;
|
||||
Window->InternalPos.IconPos.x = Pos->x;
|
||||
|
|
Loading…
Reference in a new issue