diff options
author | Goraf <goraf@miranda-ng.org> | 2016-02-07 18:01:06 +0000 |
---|---|---|
committer | Goraf <goraf@miranda-ng.org> | 2016-02-07 18:01:06 +0000 |
commit | 1a5efa05af37e5e5eda82d0bf12e1354c9e9deec (patch) | |
tree | 4a2424c8576d0298c096d6a418d0e8a3b487cb4a /plugins/ContextHelp/src/streaminout.cpp | |
parent | 5d631fbe39475e5ef90a7639c8309690c6787c71 (diff) |
ContextHelp: x64 fixes (patch by Wishmaster)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ContextHelp/src/streaminout.cpp')
-rw-r--r-- | plugins/ContextHelp/src/streaminout.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/ContextHelp/src/streaminout.cpp b/plugins/ContextHelp/src/streaminout.cpp index 4d390c3d0a..6962dce293 100644 --- a/plugins/ContextHelp/src/streaminout.cpp +++ b/plugins/ContextHelp/src/streaminout.cpp @@ -273,8 +273,6 @@ void StreamInHtml(HWND hwndEdit, const char *szHtml, UINT codepage, COLORREF clr mir_free(szColour);
#ifndef EDITOR
if (colour != clrBkgrnd) { // ensure color is visible
-#else
- UNREFERENCED_PARAMETER(clrBkgrnd);
#endif // !defined EDITOR
for (i = 0; i < colourTblCount; i++)
if (colourTbl[i] == colour)
@@ -362,7 +360,7 @@ void StreamInHtml(HWND hwndEdit, const char *szHtml, UINT codepage, COLORREF clr AppendToCharBuffer(&header, "%s}", body.sz ? body.sz : "");
esd.pbBuff = (PBYTE)header.sz;
esd.cbBuff = header.iEnd;
- stream.dwCookie = (DWORD)&esd;
+ stream.dwCookie = (DWORD_PTR)&esd;
stream.pfnCallback = (EDITSTREAMCALLBACK)EditStreamInRtf;
SendMessage(hwndEdit, EM_STREAMIN, SF_RTF, (LPARAM)&stream);
mir_free(header.sz);
|