diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-22 14:11:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-22 14:11:54 +0000 |
commit | ca410fe247243f87ac3234f526f708111f227c74 (patch) | |
tree | 53900a832c06219ff6fbc1e5a63dbe4d1b450785 /plugins/SecureIM/src/main.cpp | |
parent | b3506557a58f53ed0fc3a96c4ec4a3b8098a542d (diff) |
various menu definition quirks
git-svn-id: http://svn.miranda-ng.org/main/trunk@14326 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/main.cpp')
-rw-r--r-- | plugins/SecureIM/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp index 085870dd16..5f1eb6be5b 100644 --- a/plugins/SecureIM/src/main.cpp +++ b/plugins/SecureIM/src/main.cpp @@ -43,7 +43,7 @@ static HGENMENU AddMenuItem(LPCSTR name, int pos, HICON hicon, LPCSTR service, i mi.position = pos;
mi.hIcon = hicon;
mi.pszName = (char*)name;
- mi.pszPopupName = (char*)-1;
+ mi.hParentMenu = HGENMENU_ROOT;
mi.pszService = (char*)service;
return Menu_AddContactMenuItem(&mi);
}
|