summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-08-31 18:29:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-08-31 18:29:34 +0300
commit337e2a0c2faebd1b32831f1635346f3f5a6a231c (patch)
tree072f66db50acc33835fdd0dc36532d17094cc6e1 /plugins/Scriver/src
parent49a6631f2acb2f0078bf536322fae5d7aac0e1e3 (diff)
Scriver: typo fix
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index adcd1ac87b..ac82f3cdcc 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -23,8 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "stdafx.h"
-#define VALID_AVATAR(x) (x==PA_FORMAT_PNG||x==PA_FORMAT_JPEG||x==PA_FORMAT_ICON||x==PA_FORMAT_BMP||x==PA_FORMAT_GIF)
-
static wchar_t* GetQuotedTextW(wchar_t *text)
{
size_t i, j, l = mir_wstrlen(text);
@@ -469,7 +467,7 @@ void CSrmmWindow::onClick_Ok(CCtrlButton *pButton)
m_message.SetText(L"");
EnableWindow(GetDlgItem(m_hwnd, IDOK), FALSE);
- if (g_plugin.bSaveDrafts)
+ if (g_plugin.bAutoMin)
ShowWindow(m_hwndParent, SW_MINIMIZE);
if (pButton == nullptr)