summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-18 20:05:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-18 20:05:15 +0000
commitc9700ede2ef5444c6f754322e7c255441d6d6721 (patch)
treece10a7d3fdae125b1ae070a2b44105635929b49d /plugins
parent382cb50dc847e4d81cc6eea2e238429e0ceebfe0 (diff)
crash fix for NAS
git-svn-id: http://svn.miranda-ng.org/main/trunk@1026 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewAwaySysMod/Common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/NewAwaySysMod/Common.h b/plugins/NewAwaySysMod/Common.h
index 808347598b..7e261d875d 100644
--- a/plugins/NewAwaySysMod/Common.h
+++ b/plugins/NewAwaySysMod/Common.h
@@ -324,8 +324,6 @@ extern int g_Messages_RecentRootID, g_Messages_PredefinedRootID;
extern VAR_PARSE_DATA VarParseData;
extern bool g_fNoProcessing;
extern int g_bIsIdle;
-extern INT_PTR (*g_OldCallService)(const char *, WPARAM, LPARAM);
-
// AwaySys.cpp
TCString GetDynamicStatMsg(HANDLE hContact, char *szProto = NULL, DWORD UIN = 0, int iStatus = 0);
@@ -382,7 +380,7 @@ __inline int CallAllowedPS_SETAWAYMSG(const char *szProto, int iMode, const char
char str[MAXMODULELABELLENGTH];
strcpy(str, szProto);
strcat(str, PS_SETAWAYMSG);
- return g_OldCallService(str, (WPARAM)iMode, (LPARAM)szMsg);
+ return CallService(str, (WPARAM)iMode, (LPARAM)szMsg);
}
static __inline void my_variables_skin_helpbutton(HWND hwndDlg, UINT uIDButton)