summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/general.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-09 18:52:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-09 18:52:41 +0000
commit22d99727a04633c5f1ac7100220886e4f8fe6fd2 (patch)
tree557eca39300fc76313ad034c474caafec46fa756 /plugins/SmileyAdd/src/general.cpp
parentd35ed3d17fa323a1b819bb1b24157eaafb70f136 (diff)
nasty error messageBox removed from SmileyAdd and replaced with a popup
git-svn-id: http://svn.miranda-ng.org/main/trunk@3944 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/general.cpp')
-rw-r--r--plugins/SmileyAdd/src/general.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp
index bfac97ae54..dd9623d6a5 100644
--- a/plugins/SmileyAdd/src/general.cpp
+++ b/plugins/SmileyAdd/src/general.cpp
@@ -266,20 +266,11 @@ bool IsSmileyProto(char* proto)
void ReportError(const TCHAR* errmsg)
{
static const TCHAR title[] = _T("Miranda SmileyAdd");
-/*
-
- POPUPDATAW pd = {0};
-
+ POPUPDATAT pd = {0};
_tcscpy(pd.lpwzContactName, title);
_tcscpy(pd.lpwzText, errmsg);
-
pd.iSeconds = -1;
-
-
- bool popupFail = PUAddPopUpW(&pd) != CALLSERVICE_NOTFOUND;
-
- if (popupFail)
-*/
+ if (PUAddPopUpT(&pd) == CALLSERVICE_NOTFOUND)
MessageBox(NULL, errmsg, title, MB_OK | MB_ICONWARNING | MB_TOPMOST);
} \ No newline at end of file