Alexandre Julliard : user32: Re-enable the fast code path in CreateIconIndirect.
Alexandre Julliard
julliard at winehq.org
Fri May 28 09:43:10 CDT 2010
Module: wine
Branch: master
Commit: c9d112fd94e1d56df5a6508b09c6fb36ede4b2a5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9d112fd94e1d56df5a6508b09c6fb36ede4b2a5
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri May 28 11:22:08 2010 +0200
user32: Re-enable the fast code path in CreateIconIndirect.
---
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;
More information about the wine-cvs
mailing list