diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-14 21:05:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-14 21:05:30 +0000 |
commit | 45358c3507af7d4bb32c031eaa25708905effa91 (patch) | |
tree | 202fd149b18a39cfe6314f037421cf8d4fe2e842 /plugins/Ping | |
parent | ae5bb5cc96d0f0add1d1189c2a3293daaea83d6f (diff) |
old ansi popups removed, noone used them anyway
git-svn-id: http://svn.miranda-ng.org/main/trunk@4034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping')
-rw-r--r-- | plugins/Ping/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/Ping/src/utils.cpp | 10 |
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);
|