diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-18 20:05:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-18 20:05:15 +0000 |
commit | c9700ede2ef5444c6f754322e7c255441d6d6721 (patch) | |
tree | ce10a7d3fdae125b1ae070a2b44105635929b49d /plugins | |
parent | 382cb50dc847e4d81cc6eea2e238429e0ceebfe0 (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.h | 4 |
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)
|