diff options
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_menus.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_menus.cpp b/protocols/Steam/src/steam_menus.cpp index f59c2284a4..e67c73b3ed 100644 --- a/protocols/Steam/src/steam_menus.cpp +++ b/protocols/Steam/src/steam_menus.cpp @@ -100,7 +100,7 @@ void CSteamProto::OnInitStatusMenu() mir_strncpy(text, m_szModuleName, 100);
char* tDest = text + mir_strlen(text);
- CLISTMENUITEM mi = { sizeof(mi) };
+ CLISTMENUITEM mi = { 0 };
mi.pszService = text;
HGENMENU hSteamRoot = MO_GetProtoRootMenu(m_szModuleName);
@@ -139,7 +139,6 @@ void CSteamProto::InitMenus() //////////////////////////////////////////////////////////////////////////////////////
// Contact menu initialization
CLISTMENUITEM mi = { 0 };
- mi.cbSize = sizeof(CLISTMENUITEM);
mi.flags = CMIF_TCHAR;
// "Request authorization"
|