diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-20 09:14:13 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-20 09:14:13 +0000 |
commit | aa4076ff72097fd65a6c8a2369749afee6adf034 (patch) | |
tree | 7ea7e8478a1fedf19d1d7e48f39d28839dad6ddb /src/modules/clist | |
parent | 59b00feb310240a3ac5a140ee3dd519c520c69b3 (diff) |
minor fixes here & there
git-svn-id: http://svn.miranda-ng.org/main/trunk@1069 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist')
-rw-r--r-- | src/modules/clist/clistmenus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp index 8abc2bd2da..53f7728d9c 100644 --- a/src/modules/clist/clistmenus.cpp +++ b/src/modules/clist/clistmenus.cpp @@ -1193,7 +1193,7 @@ static INT_PTR AddStatusMenuItem(WPARAM wParam, LPARAM lParam) mir_free(ptszName);
}
if (pRoot == NULL) {
- memset(&tmi, 0, sizeof(tmi));
+ TMO_MenuItem tmi = { 0 };
tmi.cbSize = sizeof(tmi);
tmi.flags = (mi->flags & CMIF_UNICODE) | CMIF_ROOTHANDLE;
tmi.position = 1001;
|