Skip to content
Snippets Groups Projects
Commit 96ebfa98 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Cosmetic fixes.

parent b4be9981
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment