[PATCH] user32: Remove debug code from the stretch_to_icon helper

Detlef Riekenberg wine.dev at web.de
Thu May 27 22:27:30 CDT 2010


---
 dlls/user32/cursoricon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c
index 8910985..e4973e3 100644
--- a/dlls/user32/cursoricon.c
+++ b/dlls/user32/cursoricon.c
@@ -1837,7 +1837,7 @@ static void stretch_blt_icon( HDC hdc_dst, int dst_x, int dst_y, int dst_width,
 {
     HDC hdc = CreateCompatibleDC( 0 );
 
-    if (!SelectObject( hdc, src ) || 1)  /* do it the hard way */
+    if (!SelectObject( hdc, src ))  /* do it the hard way */
     {
         BITMAPINFO *info;
         void *bits;
-- 
1.7.0.4




More information about the wine-patches mailing list