summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-12 17:05:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-12 17:05:38 +0300
commita40f1f72a0bf581b77ac3d2d348827d77195e24c (patch)
tree7386484c363e462031ee193e9b34ec2ff88f96c5 /plugins/Scriver/src
parent9497fa8f107d0d39d9e876a248098c364d928154 (diff)
Scriver: small crutch to disable IEView in group chats
Diffstat (limited to 'plugins/Scriver/src')
-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 b02f2e46e2..001a691927 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -230,7 +230,7 @@ bool CMsgDialog::OnInitDialog()
m_startTime = time(0);
m_bUseRtl = g_plugin.getByte(m_hContact, "UseRTL", 0) != 0;
- m_bUseIEView = g_dat.ieviewInstalled ? g_dat.flags.bUseIeview : false;
+ m_bUseIEView = (g_dat.ieviewInstalled) ? g_dat.flags.bUseIeview && !m_si : false;
PARAFORMAT2 pf2;
memset(&pf2, 0, sizeof(pf2));
@@ -1306,7 +1306,7 @@ INT_PTR CMsgDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
break;
case DM_OPTIONSAPPLIED:
- m_bUseIEView = g_dat.ieviewInstalled ? g_dat.flags.bUseIeview : false;
+ m_bUseIEView = (g_dat.ieviewInstalled) ? g_dat.flags.bUseIeview && !m_si : false;
if (m_bUseIEView && m_hwndIeview == nullptr) {
IEVIEWWINDOW ieWindow = { sizeof(ieWindow) };
ieWindow.iType = IEW_CREATE;