summaryrefslogtreecommitdiff
path: root/MirOTR/dbfilter.cpp
diff options
context:
space:
mode:
authorNvinside <Nvinside@eced67a3-f377-a0ae-92ae-d6de1850b05a>2010-09-17 21:43:15 +0000
committerNvinside <Nvinside@eced67a3-f377-a0ae-92ae-d6de1850b05a>2010-09-17 21:43:15 +0000
commitc475377ad4dda8d4498fc7e418375f9041e04578 (patch)
tree8ecff8e987a478597c39973a571bd113331ce85d /MirOTR/dbfilter.cpp
parent2086396e736d0f41ab2654c8269db013af5284c6 (diff)
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
Diffstat (limited to 'MirOTR/dbfilter.cpp')
-rw-r--r--MirOTR/dbfilter.cpp6
1 files changed, 3 insertions, 3 deletions
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;