Author: akhaldi
Date: Wed Aug 24 02:00:14 2011
New Revision: 53403
URL:
http://svn.reactos.org/svn/reactos?rev=53403&view=rev
Log:
[USER32]
* Fix a bad sizeof().
Modified:
trunk/reactos/dll/win32/user32/windows/window.c
Modified: trunk/reactos/dll/win32/user32/windows/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/w…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/window.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/window.c [iso-8859-1] Wed Aug 24 02:00:14 2011
@@ -1792,7 +1792,7 @@
UpdateLayeredWindowIndirect(HWND hwnd,
const UPDATELAYEREDWINDOWINFO *info)
{
- if (info && info->cbSize == sizeof(info))
+ if (info && info->cbSize == sizeof(*info))
{
return NtUserUpdateLayeredWindow( hwnd,
info->hdcDst,