diff options
Diffstat (limited to 'src/core/stdurl/url.cpp')
-rw-r--r-- | src/core/stdurl/url.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/stdurl/url.cpp b/src/core/stdurl/url.cpp index 767828dc3c..0b1f8c8714 100644 --- a/src/core/stdurl/url.cpp +++ b/src/core/stdurl/url.cpp @@ -115,8 +115,7 @@ static int ContactSettingChanged(WPARAM wParam, LPARAM lParam) static int SRUrlPreBuildMenu(WPARAM wParam, LPARAM)
{
- CLISTMENUITEM mi = { 0 };
- mi.cbSize = sizeof(mi);
+ CLISTMENUITEM mi = { sizeof(mi) };
mi.flags = CMIM_FLAGS | CMIF_HIDDEN;
char *szProto = GetContactProto((HANDLE)wParam);
@@ -130,8 +129,7 @@ static int SRUrlPreBuildMenu(WPARAM wParam, LPARAM) static int SRUrlModulesLoaded(WPARAM, LPARAM)
{
- CLISTMENUITEM mi = { 0 };
- mi.cbSize = sizeof(mi);
+ CLISTMENUITEM mi = { sizeof(mi) };
mi.position = -2000040000;
mi.flags = CMIF_ICONFROMICOLIB;
mi.icolibItem = GetSkinIconHandle(SKINICON_EVENT_URL);
|