From c475377ad4dda8d4498fc7e418375f9041e04578 Mon Sep 17 00:00:00 2001 From: Nvinside Date: Fri, 17 Sep 2010 21:43:15 +0000 Subject: MirOTR 0.11.0.0: Part 1 (i will some work add later!) * added german langpack.txt + x64 compatible (many thanks to thfabba) ! fixed some memory leaks git-svn-id: http://mirotr.googlecode.com/svn/trunk@22 eced67a3-f377-a0ae-92ae-d6de1850b05a --- MirOTR/dbfilter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MirOTR/dbfilter.cpp') diff --git a/MirOTR/dbfilter.cpp b/MirOTR/dbfilter.cpp index 58e3b6d..677be9d 100644 --- a/MirOTR/dbfilter.cpp +++ b/MirOTR/dbfilter.cpp @@ -43,7 +43,7 @@ VOID CALLBACK DeleteTimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTi // add prefix to sent messages -INT_PTR OnDatabaseEventPreAdd(WPARAM wParam, LPARAM lParam) { +int OnDatabaseEventPreAdd(WPARAM wParam, LPARAM lParam) { if(!options.prefix_messages || !lParam) return 0; HANDLE hContact = (HANDLE)wParam; DBEVENTINFO *dbei = (DBEVENTINFO *)lParam; @@ -177,7 +177,7 @@ INT_PTR OnDatabaseEventPreAdd(WPARAM wParam, LPARAM lParam) { return 1; } -INT_PTR OnDatabaseEventAdded(WPARAM wParam, LPARAM lParam) { +int OnDatabaseEventAdded(WPARAM wParam, LPARAM lParam) { if(!options.delete_history) return 0; DBEVENTINFO info = {0}; @@ -267,7 +267,7 @@ int StatusModeChange(WPARAM wParam, LPARAM lParam) { return 0; } -INT_PTR OnContactSettingChanged(WPARAM wParam, LPARAM lParam) { +int OnContactSettingChanged(WPARAM wParam, LPARAM lParam) { DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING *)lParam; if (!lParam || strcmp(cws->szSetting, "Status") != 0) return 0; HANDLE hContact = (HANDLE)wParam; -- cgit v1.2.3