diff options
Diffstat (limited to 'plugins/SendScreenshotPlus/src/Main.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/Main.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/SendScreenshotPlus/src/Main.cpp b/plugins/SendScreenshotPlus/src/Main.cpp index 3398f5580b..58d92dd8aa 100644 --- a/plugins/SendScreenshotPlus/src/Main.cpp +++ b/plugins/SendScreenshotPlus/src/Main.cpp @@ -292,13 +292,11 @@ INT_PTR service_Send2ImageShack(WPARAM wParam, LPARAM lParam) { //---------------------------------------------------------------------------
// Add SendSS menu item in contact menu
-void AddMenuItems(void) {
- CLISTMENUITEM mi={0};
-
+void AddMenuItems(void)
+{
// Common
- mi.cbSize = sizeof(mi);
- // support new genmenu style
- mi.flags = CMIF_ROOTHANDLE|CMIF_UNICODE;
+ CLISTMENUITEM mi = { sizeof(mi) };
+ mi.flags = CMIF_ROOTHANDLE | CMIF_UNICODE;
mi.hParentMenu = HGENMENU_ROOT;
// Add item to contact menu
|