summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-27 21:15:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-27 21:16:03 +0300
commit68be2fc9f39d5945e47e8564aa56c56ff438ac58 (patch)
tree0613135fa7b970f33e8fe2ea34d1792e98dadf2b /plugins/Scriver/src/msgdialog.cpp
parentcd61f982890d054902ec3b63446e71519aad6f1a (diff)
Scriver: fix for dynamic entry field height
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index b47ae074f9..c642e0e422 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -837,7 +837,7 @@ void CSrmmWindow::MessageDialogResize(int w, int h)
infobarInnerHeight = 0;
}
- if (hSplitterPos >(h - toolbarHeight - infobarHeight + SPLITTER_HEIGHT + 1) / 2)
+ if (hSplitterPos > (h - toolbarHeight - infobarHeight + SPLITTER_HEIGHT + 1) / 2)
hSplitterPos = (h - toolbarHeight - infobarHeight + SPLITTER_HEIGHT + 1) / 2;
if (h - hSplitterPos - infobarHeight < hSplitterMinTop)
@@ -1207,6 +1207,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
m_hwndIeview = nullptr;
}
+ m_pParent->iSplitterY = SPLITTER_HEIGHT + 1;
SendMessage(m_hwnd, DM_GETAVATAR, 0, 0);
SetDialogToType();
{