Browse Source

Fix menu can be too small

master
Dorian 7 years ago
parent
commit
8d13238103
  1. 2
      k-meleon/KmMenu.cpp

2
k-meleon/KmMenu.cpp

@ -718,7 +718,7 @@ void KmMenuService::MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct)
return;
}
CAutoPtr<TCHAR> text(new TCHAR[mi.cch+1]);
CAutoPtr<TCHAR> text(new TCHAR[++mi.cch+1]);
mi.dwTypeData = text;
mLastActivated->GetMenuItemInfo(lpMeasureItemStruct->itemID, &mi);

Loading…
Cancel
Save