Alexandre Julliard : winex11: Add missing initialization of pattern brush style.

Alexandre Julliard julliard at winehq.org
Wed Dec 14 13:23:33 CST 2011


Module: wine
Branch: master
Commit: 59f790af046899b68744e80d7fafa72c25adbe41
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=59f790af046899b68744e80d7fafa72c25adbe41

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Dec 14 17:35:21 2011 +0100

winex11: Add missing initialization of pattern brush style.

---

 dlls/winex11.drv/xrender.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c
index 02625eb..10e6cda 100644
--- a/dlls/winex11.drv/xrender.c
+++ b/dlls/winex11.drv/xrender.c
@@ -2690,6 +2690,7 @@ static HBRUSH xrenderdrv_SelectBrush( PHYSDEV dev, HBRUSH hbrush, HBITMAP bitmap
     physdev->x11dev->brush.pixmap = pixmap;
     physdev->x11dev->brush.fillStyle = FillTiled;
     physdev->x11dev->brush.pixel = 0;  /* ignored */
+    physdev->x11dev->brush.style = BS_PATTERN;
     wine_tsx11_unlock();
 
     X11DRV_DIB_Unlock( physbitmap, TRUE );




More information about the wine-cvs mailing list