Author: hbelusca
Date: Wed Nov 18 21:38:45 2015
New Revision: 69934
URL:
http://svn.reactos.org/svn/reactos?rev=69934&view=rev
Log:
[USER32]: Update a comment.
Modified:
trunk/reactos/win32ss/user/user32/windows/dialog.c
Modified: trunk/reactos/win32ss/user/user32/windows/dialog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/dialog.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/dialog.c [iso-8859-1] Wed Nov 18 21:38:45
2015
@@ -585,16 +585,16 @@
/*
* If the user is pressing Ctrl+C, send a WM_COPY message.
- * Guido Pola, Bug 5281, Is there another way to check if the Dialog it's
a MessageBox?
+ * Guido Pola, CORE-4829, Is there another way to check if the Dialog is a
MessageBox?
*/
- if( msg.message == WM_KEYDOWN &&
+ if (msg.message == WM_KEYDOWN &&
pWnd->state & WNDS_MSGBOX && // Yes!
- GetForegroundWindow() == hwnd )
+ GetForegroundWindow() == hwnd)
{
- if( msg.wParam == L'C' && GetKeyState(VK_CONTROL) < 0
)
- SendMessageW( hwnd, WM_COPY, 0, 0);
+ if (msg.wParam == L'C' && GetKeyState(VK_CONTROL) <
0)
+ SendMessageW(hwnd, WM_COPY, 0, 0);
}
-
+
if (!IsWindow( hwnd )) return 0;
if (!(dlgInfo->flags & DF_END) && !IsDialogMessageW( hwnd,
&msg))
{