Author: hbelusca
Date: Fri Feb 12 16:40:36 2016
New Revision: 70713
URL:
http://svn.reactos.org/svn/reactos?rev=70713&view=rev
Log:
[WIN32SS]
- Fix orthograph
- Mention in the code that some stuff are hacks & need to be fixed.
- Add parentheses around bit checks.
Modified:
trunk/reactos/win32ss/user/ntuser/csr.c
trunk/reactos/win32ss/user/ntuser/defwnd.c
trunk/reactos/win32ss/user/ntuser/hook.c
trunk/reactos/win32ss/user/ntuser/winpos.c
Modified: trunk/reactos/win32ss/user/ntuser/csr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/csr.c?…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/csr.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/csr.c [iso-8859-1] Fri Feb 12 16:40:36 2016
@@ -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(a)sfr.fr), based on
+ * PROGRAMMER: Hermes Belusca-Maito (hermes.belusca(a)sfr.fr), based on
* the original code by Ge van Geldorp (ge(a)gse.nl) and by
* the CSR code in NTDLL.
*/
Modified: trunk/reactos/win32ss/user/ntuser/defwnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/defwnd…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/defwnd.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/defwnd.c [iso-8859-1] Fri Feb 12 16:40:36 2016
@@ -397,9 +397,8 @@
{
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;
/*
Modified: trunk/reactos/win32ss/user/ntuser/hook.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/hook.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/hook.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/hook.c [iso-8859-1] Fri Feb 12 16:40:36 2016
@@ -103,7 +103,7 @@
/* 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)
{
Modified: trunk/reactos/win32ss/user/ntuser/winpos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/winpos…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/winpos.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/winpos.c [iso-8859-1] Fri Feb 12 16:40:36 2016
@@ -724,8 +724,8 @@
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;