diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-19 14:23:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-19 14:23:08 +0000 |
commit | 797b7efe9a86a2ff4e7e4ecfc2219b633f10faa4 (patch) | |
tree | 6b8bf4ba3e2a80ab9c4826790847baeb1fea8b01 /plugins/Scriver/src/utils.cpp | |
parent | 6be9b9c1dd00da5ecd33cbc20ece4162ba56c402 (diff) |
- scriver to open metacontact window upon receiving an event
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@9861 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/utils.cpp')
-rw-r--r-- | plugins/Scriver/src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/utils.cpp b/plugins/Scriver/src/utils.cpp index 26e516f921..f7b158df80 100644 --- a/plugins/Scriver/src/utils.cpp +++ b/plugins/Scriver/src/utils.cpp @@ -268,7 +268,7 @@ TCHAR *GetRichEditSelection(HWND hwnd) dwFlags = SF_TEXT|SF_UNICODE|SFF_SELECTION;
msi.sendBuffer = NULL;
msi.sendBufferSize = 0;
- SendMessage(hwnd, EM_STREAMOUT, (WPARAM)dwFlags, (LPARAM)& stream);
+ SendMessage(hwnd, EM_STREAMOUT, (WPARAM)dwFlags, (LPARAM)&stream);
return (TCHAR*)msi.sendBuffer;
}
return NULL;
@@ -438,7 +438,7 @@ void GetContactUniqueId(SrmmWindowData *dat, char *buf, int maxlen) ci.szProto = dat->szProto;
ci.dwFlag = CNF_UNIQUEID;
buf[0] = 0;
- if (!CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM)& ci)) {
+ if (!CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM)&ci)) {
switch (ci.type) {
case CNFT_ASCIIZ:
mir_snprintf(buf, maxlen, "%s", ci.pszVal);
|