From c9700ede2ef5444c6f754322e7c255441d6d6721 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 18 Jul 2012 20:05:15 +0000 Subject: crash fix for NAS git-svn-id: http://svn.miranda-ng.org/main/trunk@1026 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewAwaySysMod/Common.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/NewAwaySysMod/Common.h') 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) -- cgit v1.2.3