[ros-diffs] [mbosma] 22313: Fix size of the startmenu (e.g. Start->Programs) when there are very much entries. Tested under Windows. Fix by slawek from the German forum.
mbosma at svn.reactos.org
mbosma at svn.reactos.org
Sun Jun 11 17:16:49 CEST 2006
Author: mbosma
Date: Sun Jun 11 19:16:48 2006
New Revision: 22313
URL: http://svn.reactos.ru/svn/reactos?rev=22313&view=rev
Log:
Fix size of the startmenu (e.g. Start->Programs) when there are very much entries. Tested under Windows. Fix by slawek from the German forum.
Modified:
trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp
Modified: trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp?rev=22313&r1=22312&r2=22313&view=diff
==============================================================================
--- trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp (original)
+++ trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp Sun Jun 11 19:16:48 2006
@@ -1482,7 +1482,7 @@
if (rect.bottom > cyscreen) {
_arrow_btns = true;
- _invisible_lines = (rect.bottom-cyscreen+(STARTMENU_LINE_HEIGHT(icon_size)-1))/STARTMENU_SEP_HEIGHT(icon_size) + 1;
+ _invisible_lines = (rect.bottom-cyscreen+(STARTMENU_LINE_HEIGHT(icon_size)+1))/STARTMENU_LINE_HEIGHT(icon_size)+1;
rect.bottom -= _invisible_lines * STARTMENU_LINE_HEIGHT(icon_size);
bottom_max = rect.bottom;
More information about the Ros-diffs
mailing list