ix test for STGM_SHARE_EXCLUSIVE on nameless DocFiles.

This commit is contained in:
Troy Rollo 2005-03-21 10:30:01 +00:00 committed by Alexandre Julliard
parent 3a4eaa2b05
commit 963b63ecbd
1 changed files with 1 additions and 1 deletions

View File

@ -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));