Commit 963b63ec authored by Troy Rollo's avatar Troy Rollo Committed by Alexandre Julliard

ix test for STGM_SHARE_EXCLUSIVE on nameless DocFiles.

parent 3a4eaa2b
......@@ -5486,7 +5486,7 @@ HRESULT WINAPI StgCreateDocfile(
WCHAR tempPath[MAX_PATH];
static const WCHAR prefix[] = { 'S', 'T', 'O', 0 };
if (STGM_SHARE_MODE(grfMode) == STGM_SHARE_EXCLUSIVE)
if (STGM_SHARE_MODE(grfMode) != STGM_SHARE_EXCLUSIVE)
goto end;
memset(tempPath, 0, sizeof(tempPath));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment