diff options
Diffstat (limited to 'plugins/XSoundNotify/src/xsn_main.cpp')
| -rw-r--r-- | plugins/XSoundNotify/src/xsn_main.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/XSoundNotify/src/xsn_main.cpp b/plugins/XSoundNotify/src/xsn_main.cpp index a567a8d580..44acde8a95 100644 --- a/plugins/XSoundNotify/src/xsn_main.cpp +++ b/plugins/XSoundNotify/src/xsn_main.cpp @@ -113,9 +113,9 @@ static int ProcessEvent(WPARAM wParam, LPARAM lParam)  	if (!isReceiveMessage(HANDLE(lParam)))
  		return 0;
 -	isIgnoreSound = db_get_b((HCONTACT)wParam, SETTINGSNAME, SETTINGSIGNOREKEY, 0);
 +	isIgnoreSound = db_get_b((MCONTACT)wParam, SETTINGSNAME, SETTINGSIGNOREKEY, 0);
  	DBVARIANT dbv;
 -	if ( !isIgnoreSound && !db_get_ts((HCONTACT)wParam, SETTINGSNAME, SETTINGSKEY, &dbv)) {
 +	if ( !isIgnoreSound && !db_get_ts((MCONTACT)wParam, SETTINGSNAME, SETTINGSKEY, &dbv)) {
  		TCHAR PlaySoundPath[MAX_PATH] = {0};
  		PathToAbsoluteT(dbv.ptszVal, PlaySoundPath);
  		SkinPlaySoundFile(PlaySoundPath);
 @@ -154,7 +154,7 @@ static int OnLoadInit(WPARAM wParam, LPARAM lParam)  static int PrebuildContactMenu(WPARAM wParam, LPARAM lParam)
  {
 -	HCONTACT hContact = (HCONTACT)wParam;
 +	MCONTACT hContact = (MCONTACT)wParam;
  	if (hContact) {
  		char* szProto = GetContactProto(hContact);
  		PROTOACCOUNT *pa = ProtoGetAccount(szProto);
  | 
