[ros-diffs] [gedmurphy] 20197: Fixed positioning of graphic in start menu

gedmurphy at svn.reactos.com gedmurphy at svn.reactos.com
Thu Dec 15 21:27:20 CET 2005


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);
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051215/9c1ec74b/attachment.html


More information about the Ros-diffs mailing list