diff options
Diffstat (limited to 'plugins/BuddyPounce/src')
-rw-r--r-- | plugins/BuddyPounce/src/main.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/BuddyPounce/src/main.cpp b/plugins/BuddyPounce/src/main.cpp index 7278db9364..a8d2dc419a 100644 --- a/plugins/BuddyPounce/src/main.cpp +++ b/plugins/BuddyPounce/src/main.cpp @@ -44,13 +44,10 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) int MainInit(WPARAM, LPARAM)
{
CLISTMENUITEM mi = { 0 };
- mi.position=10;
- mi.flags=0;
- mi.hIcon= LoadIcon(hInst,MAKEINTRESOURCE(IDI_POUNCE));
- mi.pszName=LPGEN("&Buddy Pounce");
- mi.pszService="BuddyPounce/MenuCommand";
- mi.pszContactOwner=NULL;
-
+ mi.position = 10;
+ mi.icolibItem = LoadIcon(hInst,MAKEINTRESOURCE(IDI_POUNCE));
+ mi.name.a = LPGEN("&Buddy Pounce");
+ mi.pszService = "BuddyPounce/MenuCommand";
Menu_AddContactMenuItem(&mi);
return 0;
}
|