uxtheme: Fix nasty regression with painting of themed progress bar.

This commit is contained in:
Alex Villacís Lasso 2008-04-23 09:45:53 -05:00 committed by Alexandre Julliard
parent d5059b8303
commit 6a42264053
1 changed files with 2 additions and 0 deletions

View File

@ -343,6 +343,8 @@ static inline BOOL UXTHEME_SizedBlt (HDC hdcDst, int nXOriginDst, int nYOriginDs
HDC hdcTemp;
BOOL result = FALSE;
if (!nWidthSrc || !nHeightSrc) return TRUE;
/* Create a DC with a bitmap consisting of a tiling of the source
bitmap, with standard GDI functions. This is faster than an
iteration with UXTHEME_Blt(). */