summaryrefslogtreecommitdiff
path: root/plugins/CyrTranslit/src/MirandaContact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CyrTranslit/src/MirandaContact.cpp')
-rw-r--r--plugins/CyrTranslit/src/MirandaContact.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/CyrTranslit/src/MirandaContact.cpp b/plugins/CyrTranslit/src/MirandaContact.cpp
index 750ee9ffbc..045199f45d 100644
--- a/plugins/CyrTranslit/src/MirandaContact.cpp
+++ b/plugins/CyrTranslit/src/MirandaContact.cpp
@@ -65,8 +65,7 @@ void MirandaContact::save(HANDLE hContact, bool bValue)
void MirandaContact::addMenuItem()
{
- CLISTMENUITEM mi;
- mi.cbSize = sizeof(CLISTMENUITEM);
+ CLISTMENUITEM mi = { sizeof(mi) };
mi.pszName = MENU_ITEM_TEXT;
mi.flags = 0;
mi.position = 65535;