View | Details | Raw Unified | Return to bug 697
Collapse All | Expand All

(-)dlls/user32/menu.c (+2 lines)
Lines 987-992 static void MENU_CalcItemSize( HDC hdc, Link Here
987
         * width of a menufont character to the width of an owner-drawn menu. 
1008
         * width of a menufont character to the width of an owner-drawn menu. 
988
         */
1009
         */
989
        lpitem->rect.right += mis.itemWidth + 2 * menucharsize.cx;
1010
        lpitem->rect.right += mis.itemWidth + 2 * menucharsize.cx;
1011
	if (lpitem->text && strchrW( lpitem->text, '\t' ) != NULL)
1012
	    lpitem->rect.right += 15 * menucharsize.cx;
990
        if (menuBar) {
1013
        if (menuBar) {
991
            /* under at least win95 you seem to be given a standard
1014
            /* under at least win95 you seem to be given a standard
992
               height for the menu and the height value is ignored */
1015
               height for the menu and the height value is ignored */

Return to bug 697