[I_KNEW_IT]

- InterlockedDecrement(JeromesBuildFailures)

svn path=/trunk/; revision=64878
This commit is contained in:
Jérôme Gardou
2014-10-21 19:14:47 +00:00
parent 1c19d25eb3
commit 68fb2f6899
3 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -1765,7 +1765,7 @@ IntClassDestroyIcon(HANDLE hCurIcon)
return FALSE;
}
/* Note: IntDestroyCurIconObject will remove our reference for us! */
Ret = IntDestroyCurIconObject(CurIcon, TRUE);
Ret = IntDestroyCurIconObject(CurIcon, GetW32ProcessInfo());
if (!Ret)
{
ERR("hCurIcon was not Destroyed!\n");
+6 -1
View File
@@ -1052,7 +1052,7 @@ IntDefWindowProc(
x = (ClientRect.right - ClientRect.left - UserGetSystemMetrics(SM_CXICON)) / 2;
y = (ClientRect.bottom - ClientRect.top - UserGetSystemMetrics(SM_CYICON)) / 2;
UserDrawIconEx( hDC, x, y, pIcon, 0, 0, 0, 0, DI_NORMAL | DI_COMPAT | DI_DEFAULTSIZE );
UserDereferenceObject(pIcon)
UserDereferenceObject(pIcon);
}
#endif
IntEndPaint(Wnd, &Ps);
@@ -1161,10 +1161,15 @@ PCURICON_OBJECT FASTCALL NC_IconForWindow( PWND pWnd )
hIcon = UserGetProp(pWnd, gpsi->atomIconSmProp);
if (!hIcon) hIcon = UserGetProp(pWnd, gpsi->atomIconProp);
#ifdef NEW_CURSORICON
if (!hIcon && pWnd->pcls->spicnSm)
return pWnd->pcls->spicnSm;
if (!hIcon && pWnd->pcls->spicn)
return pWnd->pcls->spicn;
#else
if (!hIcon) hIcon = pWnd->pcls->hIconSm;
if (!hIcon) hIcon = pWnd->pcls->hIcon;
#endif
if (!hIcon && (pWnd->style & DS_MODALFRAME))
{
+4
View File
@@ -403,7 +403,11 @@ UserGetDCEx(PWND Wnd OPTIONAL, HANDLE ClipRegion, ULONG Flags)
Flags |= DCX_CLIPCHILDREN;
}
/* If minized with icon in the set, we are forced to be cheap! */
#ifdef NEW_CURSORICON
if (Wnd->style & WS_MINIMIZE && Wnd->pcls->spicn)
#else
if (Wnd->style & WS_MINIMIZE && Wnd->pcls->hIcon)
#endif
{
Flags |= DCX_CACHE;
}