summaryrefslogtreecommitdiff
path: root/plugins/Ping
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping')
-rw-r--r--plugins/Ping/src/options.cpp2
-rw-r--r--plugins/Ping/src/utils.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Ping/src/options.cpp b/plugins/Ping/src/options.cpp
index 578c2a174f..c4433e7a9d 100644
--- a/plugins/Ping/src/options.cpp
+++ b/plugins/Ping/src/options.cpp
@@ -44,7 +44,7 @@ static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
EnableWindow(hw, FALSE);
}
- if(!ServiceExists( MS_POPUP_ADDPOPUP )) {
+ if( !ServiceExists( MS_POPUP_ADDPOPUP )) {
hw = GetDlgItem(hwndDlg, IDC_CHECKPOPUP);
EnableWindow(hw, FALSE);
hw = GetDlgItem(hwndDlg, IDC_CHECKPOPUP2);
diff --git a/plugins/Ping/src/utils.cpp b/plugins/Ping/src/utils.cpp
index 425aef76a2..a193888635 100644
--- a/plugins/Ping/src/utils.cpp
+++ b/plugins/Ping/src/utils.cpp
@@ -18,10 +18,10 @@ LRESULT CALLBACK NullWindowProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM
void CALLBACK sttMainThreadCallback( ULONG_PTR dwParam )
{
- POPUPDATAEX* ppd = ( POPUPDATAEX* )dwParam;
+ POPUPDATA* ppd = ( POPUPDATA* )dwParam;
- if ( ServiceExists(MS_POPUP_ADDPOPUPEX) )
- PUAddPopUpEx(ppd);
+ if ( ServiceExists(MS_POPUP_ADDPOPUP))
+ PUAddPopUp(ppd);
free( ppd );
}
@@ -30,8 +30,8 @@ void __stdcall ShowPopup( const char* line1, const char* line2, int flags )
{
if(CallService(MS_SYSTEM_TERMINATED, 0, 0)) return;
- if ( ServiceExists( MS_POPUP_ADDPOPUP )) {
- POPUPDATAEX* ppd = ( POPUPDATAEX* )calloc( sizeof( POPUPDATAEX ), 1 );
+ if ( ServiceExists(MS_POPUP_ADDPOPUP)) {
+ POPUPDATA* ppd = ( POPUPDATA* )calloc( sizeof( POPUPDATA ), 1 );
ppd->lchContact = NULL;
ppd->lchIcon = (flags ? hIconResponding : hIconNotResponding);