OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0616054
)
forgot to initialize MENUITEMINFO structure
2.14.0+-jp-20
author
sdottaka
<none@none>
Wed, 6 Nov 2013 15:42:42 +0000
(
00:42
+0900)
committer
sdottaka
<none@none>
Wed, 6 Nov 2013 15:42:42 +0000
(
00:42
+0900)
--HG--
branch : stable
Src/Common/MDITabBar.cpp
patch
|
blob
|
history
diff --git
a/Src/Common/MDITabBar.cpp
b/Src/Common/MDITabBar.cpp
index
8386c52
..
5010e7c
100644
(file)
--- a/
Src/Common/MDITabBar.cpp
+++ b/
Src/Common/MDITabBar.cpp
@@
-103,7
+103,7
@@
void CMDITabBar::OnContextMenu(CWnd *pWnd, CPoint point)
m_pMainFrame->MDIActivate(pMDIChild);
CMenu* pPopup = pMDIChild->GetSystemMenu(FALSE);
if (!pPopup) return;
- MENUITEMINFO mii;
+ MENUITEMINFO mii
= {0}
;
mii.cbSize = sizeof(MENUITEMINFO);
if (!pPopup->GetMenuItemInfo(ID_CLOSE_OTHER_TABS, &mii, FALSE))
{