Cosmetic fixes.
This commit is contained in:
parent
b4be998158
commit
96ebfa983b
|
@ -1785,6 +1785,7 @@ static LONG WIN_GetWindowLong( HWND hwnd, INT offset, WINDOWPROCTYPE type )
|
||||||
{
|
{
|
||||||
if (offset >= 0)
|
if (offset >= 0)
|
||||||
{
|
{
|
||||||
|
if (IsWindow(hwnd))
|
||||||
FIXME( "(%d) not supported on other process window %x\n", offset, hwnd );
|
FIXME( "(%d) not supported on other process window %x\n", offset, hwnd );
|
||||||
SetLastError( ERROR_INVALID_WINDOW_HANDLE );
|
SetLastError( ERROR_INVALID_WINDOW_HANDLE );
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -2708,7 +2709,7 @@ HWND *WIN_ListParents( HWND hwnd )
|
||||||
{
|
{
|
||||||
WND *win;
|
WND *win;
|
||||||
HWND current, *list;
|
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;
|
if (!(list = HeapAlloc( GetProcessHeap(), 0, size * sizeof(HWND) ))) return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue