Fixed positioning of graphic in start menu
by Sebastiaan Roodenburg (KaRaMBa : IRC)
Modified: trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
_____
Modified: trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
--- trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
2005-12-15 19:49:52 UTC (rev 20196)
+++ trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
2005-12-15 20:27:16 UTC (rev 20197)
@@ -1824,7 +1824,7 @@
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);
}
Show replies by date