diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index bf1c1b30217..2bc9d3d568a 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -8900,7 +8900,7 @@ HRESULT WINAPI StgOpenStorage( * Refuse to open the file if it's too small to be a structured storage file * FIXME: verify the file when reading instead of here */ - if (GetFileSize(hFile, NULL) < 0x100) + if (GetFileSize(hFile, NULL) < HEADER_SIZE) { CloseHandle(hFile); hr = STG_E_FILEALREADYEXISTS;