diff options
Diffstat (limited to 'plugins/UserGuide')
-rw-r--r-- | plugins/UserGuide/src/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/UserGuide/src/main.cpp b/plugins/UserGuide/src/main.cpp index 1533af56be..c11494cf38 100644 --- a/plugins/UserGuide/src/main.cpp +++ b/plugins/UserGuide/src/main.cpp @@ -79,11 +79,9 @@ static INT_PTR ShowGuideFile(WPARAM wParam,LPARAM lParam) int ModulesLoaded(WPARAM wParam,LPARAM lParam)
{
- CLISTMENUITEM mi;
-
hShowGuide = CreateServiceFunction("UserGuide/ShowGuide", ShowGuideFile);
- ZeroMemory(&mi, sizeof(mi));
- mi.cbSize = sizeof(mi);
+
+ CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 500000;
mi.flags = CMIF_TCHAR;
mi.hIcon = LoadSkinnedIcon(SKINICON_OTHER_HELP);
|