diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 21:06:11 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-23 21:06:11 +0000 |
commit | 5b3b0020dd6b3797a5808c7362e358df48bd4e49 (patch) | |
tree | 9ee3e4de8b8f04a8faf4186ae2e1f84c3ef21b17 /plugins/Scriver/chat/tools.cpp | |
parent | 449553a9543c7ecc601f74c4abccc07d13521b15 (diff) |
Scriver:
plusified
git-svn-id: http://svn.miranda-ng.org/main/trunk@591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/chat/tools.cpp')
-rw-r--r-- | plugins/Scriver/chat/tools.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Scriver/chat/tools.cpp b/plugins/Scriver/chat/tools.cpp index d18115dfae..b448ca9aa4 100644 --- a/plugins/Scriver/chat/tools.cpp +++ b/plugins/Scriver/chat/tools.cpp @@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <string.h>
#include <shlwapi.h>
-extern HINSTANCE g_hInst;
extern FONTINFO aFonts[OPTIONS_FONTCOUNT];
extern HMENU g_hMenu;
extern HANDLE hBuildMenuEvent ;
@@ -150,7 +149,7 @@ static int ShowPopup (HANDLE hContact, SESSION_INFO* si, HICON hIcon, char* psz pd.colorText = crBkg;
}
- pd.PluginWindowProc = PopupDlgProc;
+ pd.PluginWindowProc = (WNDPROC)PopupDlgProc;
pd.PluginData = si;
return PUAddPopUpT(&pd);
}
@@ -465,9 +464,9 @@ BOOL IsHighlighted(SESSION_INFO* si, const TCHAR* pszText) p3 += 1;
//find the end of the word
- p2 = _tcschr(p3, ' ');
+ p2 = (TCHAR *)_tcschr(p3, ' ');
if (!p2)
- p2 = _tcschr(p3, '\0');
+ p2 = (TCHAR *)_tcschr(p3, '\0');
if (p3 != p2) {
|