Module: wine Branch: master Commit: c9d112fd94e1d56df5a6508b09c6fb36ede4b2a5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9d112fd94e1d56df5a6508b09...
Author: Alexandre Julliard julliard@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;