summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/srmm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/srmm.cpp')
-rw-r--r--plugins/New_GPG/src/srmm.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/New_GPG/src/srmm.cpp b/plugins/New_GPG/src/srmm.cpp
index f1b646ff06..5dd57c2b11 100644
--- a/plugins/New_GPG/src/srmm.cpp
+++ b/plugins/New_GPG/src/srmm.cpp
@@ -16,18 +16,16 @@
-#include "commonheaders.h"
+#include "stdafx.h"
void ShowStatusIcon(MCONTACT hContact);
void setSrmmIcon(MCONTACT hContact);
-int __cdecl onWindowEvent(WPARAM wParam, LPARAM lParam) {
-
+int __cdecl onWindowEvent(WPARAM, LPARAM lParam)
+{
MessageWindowEventData *mwd = (MessageWindowEventData *)lParam;
if(mwd->uType == MSG_WINDOW_EVT_OPEN || mwd->uType == MSG_WINDOW_EVT_OPENING)
- {
setSrmmIcon(mwd->hContact);
- }
return 0;
}