Cosmetic fixes.

This commit is contained in:
Alexandre Julliard 2001-10-23 20:35:44 +00:00
parent b4be998158
commit 96ebfa983b

View file

@ -1785,7 +1785,8 @@ static LONG WIN_GetWindowLong( HWND hwnd, INT offset, WINDOWPROCTYPE type )
{
if (offset >= 0)
{
FIXME( "(%d) not supported on other process window %x\n", offset, hwnd );
if (IsWindow(hwnd))
FIXME( "(%d) not supported on other process window %x\n", offset, hwnd );
SetLastError( ERROR_INVALID_WINDOW_HANDLE );
return 0;
}
@ -2708,7 +2709,7 @@ HWND *WIN_ListParents( HWND hwnd )
{
WND *win;
HWND current, *list;
int pos = 0, size = 16, count;
int pos = 0, size = 16, count = 0;
if (!(list = HeapAlloc( GetProcessHeap(), 0, size * sizeof(HWND) ))) return NULL;