summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/simplemail/senddoc.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/source/win32/simplemail/senddoc.cxx b/shell/source/win32/simplemail/senddoc.cxx
index 636a0d862f4e..4b8e09f48ccf 100644
--- a/shell/source/win32/simplemail/senddoc.cxx
+++ b/shell/source/win32/simplemail/senddoc.cxx
@@ -207,8 +207,9 @@ void initParameter(int argc, wchar_t* argv[])
if (_wcsicmp(argv[i], L"--mapi-dialog") == 0)
{
- // Outlook 2013+; for earlier versions this equals to MAPI_DIALOG
- gMapiFlags |= MAPI_DIALOG_MODELESS;
+ // MAPI_DIALOG_MODELESS has many problems and crashes Outlook 2016.
+ // see the commit message for a lengthy description.
+ gMapiFlags |= MAPI_DIALOG;
}
else if (_wcsicmp(argv[i], L"--mapi-logon-ui") == 0)
{