summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/src')
-rw-r--r--plugins/SmileyAdd/src/general.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp
index 7a1582daa3..9291389d6f 100644
--- a/plugins/SmileyAdd/src/general.cpp
+++ b/plugins/SmileyAdd/src/general.cpp
@@ -197,10 +197,10 @@ void ReportError(const wchar_t *errmsg)
{
static const wchar_t title[] = L"Miranda SmileyAdd";
- POPUPDATAW pd = { 0 };
- mir_wstrcpy(pd.lpwzContactName, title);
- mir_wstrcpy(pd.lpwzText, errmsg);
- pd.iSeconds = -1;
- if (PUAddPopupW(&pd) == INVALID_HANDLE_VALUE)
+ POPUPDATAW ppd;
+ mir_wstrcpy(ppd.lpwzContactName, title);
+ mir_wstrcpy(ppd.lpwzText, errmsg);
+ ppd.iSeconds = -1;
+ if (PUAddPopupW(&ppd) == INVALID_HANDLE_VALUE)
MessageBox(nullptr, errmsg, title, MB_OK | MB_ICONWARNING | MB_TOPMOST);
}