mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 03:37:57 +00:00
Fixed positioning of graphic in start menu
by Sebastiaan Roodenburg (KaRaMBa : IRC) svn path=/trunk/; revision=20197
This commit is contained in:
parent
b797a71a80
commit
518f3087ef
|
@ -1824,7 +1824,7 @@ void StartMenuRoot::Paint(PaintCanvas& canvas)
|
|||
|
||||
PatBlt(canvas, _logo_size.cx, 0, 1, clnt.bottom, WHITENESS);
|
||||
|
||||
BitBlt(canvas, 0, clnt.bottom-h, _logo_size.cx, h, mem_dc, 0, 0, SRCCOPY);
|
||||
BitBlt(canvas, 0, clnt.bottom-h, _logo_size.cx, h, mem_dc, 0, ( h<_logo_size.cy ? _logo_size.cy-h : 0) , SRCCOPY);
|
||||
|
||||
super::Paint(canvas);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue