summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src/main.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-01-12 20:18:54 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-01-12 20:18:54 +0000
commit1eb5d33e9916cd042323e8065961494c492d9416 (patch)
treee5954c68a7f34ed9a4937d60bb30e02d2770276c /plugins/FloatingContacts/src/main.cpp
parenteec8d5bd49a4f862ea926ad24ee07f19cdc10933 (diff)
support for dropping unicode text (fixes #61)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3081 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FloatingContacts/src/main.cpp')
-rw-r--r--plugins/FloatingContacts/src/main.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp
index df6aa4320b..835bdaaad9 100644
--- a/plugins/FloatingContacts/src/main.cpp
+++ b/plugins/FloatingContacts/src/main.cpp
@@ -554,19 +554,18 @@ static void LoadDBSettings()
bIsCListShow = (DBGetContactSettingByte(NULL, "CList", "State", 0) == 2);
}
-void SendMsgDialog( HWND hwnd, char *pText )
+void SendMsgDialog( HWND hwnd, TCHAR *pText )
{
ThumbInfo *pThumb = thumbList.FindThumb( hwnd );
if ( pThumb != NULL )
- CallService( MS_MSG_SENDMESSAGE, (WPARAM)pThumb->hContact, (LPARAM)pText );
+ CallService( MS_MSG_SENDMESSAGET, (WPARAM)pThumb->hContact, (LPARAM)pText );
}
static void ShowContactMenu( HWND hwnd, POINT pt )
{
ThumbInfo *pThumb = thumbList.FindThumb( hwnd );
- int idCommand = 0;
if ( pThumb != NULL )
{
@@ -574,7 +573,7 @@ static void ShowContactMenu( HWND hwnd, POINT pt )
if ( hContactMenu == NULL ) return;
- idCommand = TrackPopupMenu( hContactMenu, TPM_RIGHTALIGN | TPM_TOPALIGN | TPM_RETURNCMD, pt.x, pt.y, 0 , hwnd, NULL );
+ int idCommand = TrackPopupMenu( hContactMenu, TPM_RIGHTALIGN | TPM_TOPALIGN | TPM_RETURNCMD, pt.x, pt.y, 0 , hwnd, NULL );
CallService( MS_CLIST_MENUPROCESSCOMMAND, MAKEWPARAM( idCommand , MPCF_CONTACTMENU), (LPARAM)pThumb->hContact );
}
}