We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ce826e commit 7bf9785Copy full SHA for 7bf9785
src/Menu.cpp
@@ -1861,7 +1861,6 @@ void FreeAllMenuDrawInfos() {
1861
// Note: could be faster
1862
FreeMenuOwnerDrawInfo(g_menuDrawInfos[0]);
1863
}
1864
- DeleteMenuFont();
1865
1866
1867
void FreeMenuOwnerDrawInfo(MenuOwnerDrawInfo* modi) {
@@ -1932,7 +1931,7 @@ void FreeMenuOwnerDrawInfoData(HMENU hmenu) {
1932
1931
SetMenuItemInfoW(hmenu, (uint)i, TRUE /* by position */, &mii);
1933
1934
if (mii.hSubMenu != nullptr) {
1935
- MarkMenuOwnerDraw(mii.hSubMenu);
+ FreeMenuOwnerDrawInfoData(mii.hSubMenu);
1936
1937
};
1938
0 commit comments