diff options
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) {
|