summaryrefslogtreecommitdiff
path: root/popup/src/effects.cpp
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-04-24 17:39:28 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-04-24 17:39:28 +0000
commitbb88f142d7d41f0d6e6a4d1919fe6d6ace03fbe2 (patch)
tree599c9f5e30155eea5e3c4d99bde612800320671f /popup/src/effects.cpp
parentb69a7f60f7ef2b0ce17a69fe8e772aec9c7dcdd8 (diff)
popup:
typo fixed fixed errors with ansi plugins fixed destroying all of popups windows before unloading added destroing functions on exit git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@24 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'popup/src/effects.cpp')
-rw-r--r--popup/src/effects.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/popup/src/effects.cpp b/popup/src/effects.cpp
index f19fd93..64ac46b 100644
--- a/popup/src/effects.cpp
+++ b/popup/src/effects.cpp
@@ -33,6 +33,7 @@ Last change by : $Author: Merlin_de $
#include "headers.h"
class MyTestEffect;
+HANDLE hSquareFad;
class MyTestEffect: public IPopupPlusEffect
{
@@ -88,6 +89,6 @@ static INT_PTR svcCreateEffect_MyTestEffect(WPARAM, LPARAM) { return (INT_PTR)(n
void PopupEfectsInitialize()
{
- CreateServiceFunction(MS_POPUP_CREATEVFX "Square fading", svcCreateEffect_MyTestEffect);
+ hSquareFad = CreateServiceFunction(MS_POPUP_CREATEVFX "Square fading", svcCreateEffect_MyTestEffect);
CallService(MS_POPUP_REGISTERVFX, 0, (LPARAM)"Square fading");
}