diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-24 12:33:43 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-24 12:33:43 +0000 |
commit | 6d99499879c434f212f4c02e751f730eca610983 (patch) | |
tree | 45fe6c186a4b89b1b0565a321b9ce4f166b873a8 /plugins/Chat/services.cpp | |
parent | 7a6399d054da0e2e21d00b110b885e15b278d3b7 (diff) |
Chat:
plusified
git-svn-id: http://svn.miranda-ng.org/main/trunk@602 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Chat/services.cpp')
-rw-r--r-- | plugins/Chat/services.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Chat/services.cpp b/plugins/Chat/services.cpp index 4a9e785691..6f305cc906 100644 --- a/plugins/Chat/services.cpp +++ b/plugins/Chat/services.cpp @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "m_fontservice.h"
-extern HANDLE g_hInst;
extern HICON hIcons[30];
extern HIMAGELIST hImageList;
extern HIMAGELIST hIconsList;
@@ -334,7 +333,7 @@ static INT_PTR Service_Register(WPARAM wParam, LPARAM lParam) mi->iMaxText= gcr->iMaxText;
mi->nColorCount = gcr->nColors;
if ( gcr->nColors > 0) {
- mi->crColors = mir_alloc(sizeof(COLORREF) * gcr->nColors);
+ mi->crColors = (COLORREF *)mir_alloc(sizeof(COLORREF) * gcr->nColors);
memcpy(mi->crColors, gcr->pColors, sizeof(COLORREF) * gcr->nColors);
}
|