summaryrefslogtreecommitdiff
path: root/yapp/popups2.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-04-22 05:04:36 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-04-22 05:04:36 +0000
commit3eab86e88f98801a4983c7ed5d08936b81741f3e (patch)
treed5ffbf111cf859e574eedc4ba83685bb989248d9 /yapp/popups2.cpp
parentc12debcb441a2078c30372ba77cfcf6bdb219bfd (diff)
API standardization cosmetic changes
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@510 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'yapp/popups2.cpp')
-rw-r--r--yapp/popups2.cpp6
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;