summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-25 18:48:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-25 18:48:18 +0300
commit425b12911e11a8902d2f1963c2ac9c17a8904b30 (patch)
tree73f135ae8d471498517c3a6b8f305fa46aa5871e /plugins/Scriver/src/msgdialog.cpp
parentcd4e21415d7f87e9c749eeb7749b832cfb79b69d (diff)
Scriver: killing that old shit with error dialog
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index 838642e9b3..b47ae074f9 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -1542,9 +1542,9 @@ INT_PTR CSrmmWindow::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
case DM_SHOWERRORMESSAGE:
if (lParam) {
- ErrorWindowData *ewd = (ErrorWindowData *)lParam;
SendMessage(m_hwnd, DM_STOPMESSAGESENDING, 0, 0);
- ewd->queueItem->hwndErrorDlg = CreateDialogParam(g_hInst, MAKEINTRESOURCE(IDD_MSGSENDERROR), m_hwnd, ErrorDlgProc, (LPARAM)ewd);//m_hwnd
+ CErrorDlg *pDlg = (CErrorDlg*)lParam;
+ pDlg->Create();
}
break;