summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewXstatusNotify')
-rw-r--r--plugins/NewXstatusNotify/main.cpp1
-rw-r--r--plugins/NewXstatusNotify/xstatus.cpp19
2 files changed, 10 insertions, 10 deletions
diff --git a/plugins/NewXstatusNotify/main.cpp b/plugins/NewXstatusNotify/main.cpp
index 2e9974cc8d..82370f15f5 100644
--- a/plugins/NewXstatusNotify/main.cpp
+++ b/plugins/NewXstatusNotify/main.cpp
@@ -1364,5 +1364,6 @@ extern "C" int __declspec(dllexport) Unload(void)
{
DestroyHookableEvent(hHookContactStatusChanged);
DestroyServiceFunction(hServiceMenu);
+ xstatusList.destroy();
return 0;
} \ No newline at end of file
diff --git a/plugins/NewXstatusNotify/xstatus.cpp b/plugins/NewXstatusNotify/xstatus.cpp
index 94415dbb21..4356af37fb 100644
--- a/plugins/NewXstatusNotify/xstatus.cpp
+++ b/plugins/NewXstatusNotify/xstatus.cpp
@@ -66,16 +66,15 @@ void RemoveLoggedEvents(HANDLE hContact)
TCHAR *GetStatusTypeAsString(int type, TCHAR *buff)
{
- switch (type)
- {
- case TYPE_JABBER_MOOD:
- _tcscpy(buff, TranslateT("Mood")); break;
- case TYPE_JABBER_ACTIVITY:
- _tcscpy(buff, TranslateT("Activity")); break;
- case TYPE_ICQ_XSTATUS:
- _tcscpy(buff, TranslateT("Xstatus")); break;
- default:
- _tcscpy(buff, TranslateT("<unknown>"));
+ switch (type) {
+ case TYPE_JABBER_MOOD:
+ _tcscpy(buff, TranslateT("Mood")); break;
+ case TYPE_JABBER_ACTIVITY:
+ _tcscpy(buff, TranslateT("Activity")); break;
+ case TYPE_ICQ_XSTATUS:
+ _tcscpy(buff, TranslateT("Xstatus")); break;
+ default:
+ _tcscpy(buff, TranslateT("<unknown>"));
}
return buff;