diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-11-13 20:44:49 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-11-13 20:44:49 +0000 |
commit | 526be8c3f2ec7cf54cfec03052ac3b757a346191 (patch) | |
tree | d565d52d4b42e38846cd2cc7c97fad5c21fcf3c8 /src/modules/clist | |
parent | 0556f99729354666e6a08e0b14f332d7ed3f64ef (diff) |
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@10986 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist')
-rw-r--r-- | src/modules/clist/genmenu.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/clist/genmenu.cpp b/src/modules/clist/genmenu.cpp index 3cf0a71c6d..bb5e533ff4 100644 --- a/src/modules/clist/genmenu.cpp +++ b/src/modules/clist/genmenu.cpp @@ -718,8 +718,7 @@ PMO_IntMenuItem MO_AddOldNewMenuItem(HANDLE menuobjecthandle, PMO_MenuItem pmi) if (oldroot == NULL) {
//not found, creating root
- TMO_MenuItem tmi = { 0 };
- tmi = *pmi;
+ TMO_MenuItem tmi = *pmi;
tmi.flags |= CMIF_ROOTHANDLE;
tmi.ownerdata = 0;
tmi.root = NULL;
|