Fix return value in PSDRV_SetBrush.

Gerald Pfeifer gerald at pfeifer.com
Sat May 1 10:37:37 CDT 2010


This looks similar to another patch I did earlier today; really no
point in having (and setting) a variable for the return value if we
then up ignoring it.

Gerald

---
 dlls/wineps.drv/brush.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wineps.drv/brush.c b/dlls/wineps.drv/brush.c
index fb063ec..c88ab49 100644
--- a/dlls/wineps.drv/brush.c
+++ b/dlls/wineps.drv/brush.c
@@ -93,7 +93,7 @@ static BOOL PSDRV_SetBrush(PSDRV_PDEVICE *physDev)
 
     }
     physDev->brush.set = TRUE;
-    return TRUE;
+    return ret;
 }
 
 
-- 
1.6.6.2



More information about the wine-patches mailing list