[Bug 13350] Vim menu text overlaps itself [dogfood]
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri May 23 10:58:03 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=13350
Juan Lang <juan_lang at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|-unknown |user32
--- Comment #3 from Juan Lang <juan_lang at yahoo.com> 2008-05-23 10:58:03 ---
It's a bug in user32 in the menu drawing code. Now if I can only figure it
out...
The following hack fixes it, but I doubt it's a proper fix:
diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c
index 49de5e1..ebfcd01 100644
--- a/dlls/user32/menu.c
+++ b/dlls/user32/menu.c
@@ -1601,9 +1601,6 @@ static void MENU_DrawMenuItem( HWND hwnd
DT_CENTER | DT_VCENTER | DT_SINGLELINE :
DT_LEFT | DT_VCENTER | DT_SINGLELINE;
- if( !(menu->dwStyle & MNS_CHECKORBMP))
- rect.left += menu->maxBmpSize.cx;
-
if ( lpitem->fState & MFS_DEFAULT )
{
hfontOld = SelectObject( hdc, get_menu_font(TRUE) );
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list