diff options
Diffstat (limited to 'yapp/popups2.cpp')
-rw-r--r-- | yapp/popups2.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/yapp/popups2.cpp b/yapp/popups2.cpp index a800af7..845635b 100644 --- a/yapp/popups2.cpp +++ b/yapp/popups2.cpp @@ -60,6 +60,7 @@ extern "C" BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LP extern "C" POPUPS2_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
+ pluginInfo.cbSize = sizeof(PLUGININFOEX);
return &pluginInfo;
}
@@ -152,7 +153,8 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) { CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update);
}
- if(ServiceExists(MS_FONT_REGISTERW)) {
+ if(ServiceExists(MS_FONT_REGISTERW))
+ {
font_id_firstlinew.cbSize = sizeof(FontIDW);
font_id_firstlinew.flags = FIDF_ALLOWEFFECTS;
t2w(TranslateT("Popups"), font_id_firstlinew.group, 64);
@@ -355,7 +357,7 @@ extern "C" int POPUPS2_API Load(PLUGINLINK *link) { test.iSeconds = 10;
test.ptszDescription = TranslateT("Test popup class");
test.pszName = "popup/testclass";
- CallService(MS_YAPP_REGISTERCLASS, 0, (WPARAM)&test);
+ CallService(MS_POPUP_REGISTERCLASS, 0, (WPARAM)&test);
*/
return 0;
|