summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/chat/services.cpp')
-rw-r--r--plugins/Scriver/src/chat/services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/services.cpp b/plugins/Scriver/src/chat/services.cpp
index 7bdc353d4b..0da545b939 100644
--- a/plugins/Scriver/src/chat/services.cpp
+++ b/plugins/Scriver/src/chat/services.cpp
@@ -367,8 +367,6 @@ static INT_PTR Service_AddEvent(WPARAM wParam, LPARAM lParam)
{
GCEVENT *gce = (GCEVENT*)lParam;
SESSION_INFO *si;
- TCHAR* pWnd = NULL;
- char* pMod = NULL;
BOOL bIsHighlighted = FALSE;
BOOL bRemoveFlag = FALSE;
@@ -455,6 +453,8 @@ static INT_PTR Service_AddEvent(WPARAM wParam, LPARAM lParam)
}
// Decide which window (log) should have the event
+ LPCTSTR pWnd = NULL;
+ LPCSTR pMod = NULL;
if (gcd->ptszID) {
pWnd = gcd->ptszID;
pMod = gcd->pszModule;