From def03bef859796b00a5486343e95d3deea1d61db Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 23 Jun 2015 17:32:19 +0000 Subject: Remove double "CMIF_ROOTHANDLE | CMIF_ROOTHANDLE" after r14350 git-svn-id: http://svn.miranda-ng.org/main/trunk@14353 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FTPFileYM/src/ftpfile.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/FTPFileYM/src/ftpfile.cpp') diff --git a/plugins/FTPFileYM/src/ftpfile.cpp b/plugins/FTPFileYM/src/ftpfile.cpp index 003f81ec97..f039edde87 100644 --- a/plugins/FTPFileYM/src/ftpfile.cpp +++ b/plugins/FTPFileYM/src/ftpfile.cpp @@ -105,7 +105,7 @@ void InitMenuItems() mi.ptszName = stzName; CLISTMENUITEM mi2 = { 0 }; - mi2.flags = CMIF_ROOTHANDLE | CMIF_ROOTHANDLE | CMIF_TCHAR; + mi2.flags = CMIF_ROOTHANDLE | CMIF_TCHAR; mi2.pszService = MS_FTPFILE_CONTACTMENU; for (int i = 0; i < ServerList::FTP_COUNT; i++) @@ -117,7 +117,7 @@ void InitMenuItems() mi.hParentMenu = 0; if (opt.bUseSubmenu) { - mi.flags |= CMIF_ROOTHANDLE | CMIF_ROOTHANDLE; + mi.flags |= CMIF_ROOTHANDLE; mi.hParentMenu = hMenu; } @@ -125,7 +125,7 @@ void InitMenuItems() mi.popupPosition = i + 1000; hSubMenu[i] = Menu_AddContactMenuItem(&mi); - mi.flags |= CMIF_ROOTHANDLE | CMIF_ROOTHANDLE; + mi.flags |= CMIF_ROOTHANDLE; mi.hParentMenu = hMainMenu; hMainSubMenu[i] = Menu_AddMainMenuItem(&mi); @@ -161,7 +161,7 @@ void InitMenuItems() } memset(&mi, 0, sizeof(mi)); - mi.flags = CMIF_ROOTHANDLE | CMIF_ROOTHANDLE | CMIF_TCHAR; + mi.flags = CMIF_ROOTHANDLE | CMIF_TCHAR; mi.icolibItem = iconList[ServerList::FTP_COUNT].hIcolib; mi.position = 3000090001; mi.ptszName = LPGENT("FTP File manager"); -- cgit v1.2.3