summaryrefslogtreecommitdiff
path: root/messages.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-09-26 22:00:11 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-09-26 22:00:11 +0300
commit38b7c078dfd42c58c04316f86e5b30f6cf542b61 (patch)
tree9047fc72fc54945d54667e1f9b9b38953fc69e47 /messages.cpp
parent04f25368c5b4082e5d05d25627c83bd5745ed782 (diff)
cleanup, better list click handling
Diffstat (limited to 'messages.cpp')
-rw-r--r--messages.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/messages.cpp b/messages.cpp
index a97e433..394fcc3 100644
--- a/messages.cpp
+++ b/messages.cpp
@@ -485,13 +485,11 @@ int SendMsgSvc(WPARAM w, LPARAM l)
debuglog<<"info: Failed to encrypt message with GPG";
return CallService(MS_PROTO_CHAINRECV, w, (LPARAM)ccs);
}
-// mir_free((void**)ccs->lParam);
ccs->lParam = (LPARAM)mir_utf8encodeW(str.c_str());
if(bAppendTags)
DBWriteContactSettingByte(hContact, szGPGModuleName, "MsgsForTagging", DBGetContactSettingByte(ccs->hContact, szGPGModuleName, "MsgsForTagging", 0) + 1);
}
}
-// ccs->wParam&=~PREF_UNICODE; //memory leak ?
return CallService(MS_PROTO_CHAINSEND, w, l);
}