Core/Enums: Fix typo in OpenMode (MustExit => MustExist)

This commit is contained in:
Lynix
2016-11-27 14:23:26 +01:00
parent c99008f7b5
commit efcce7d442
3 changed files with 4 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ namespace Nz
{
access |= GENERIC_READ;
if (mode & OpenMode_MustExit || (mode & OpenMode_WriteOnly) == 0)
if (mode & OpenMode_MustExist || (mode & OpenMode_WriteOnly) == 0)
openMode |= OPEN_EXISTING;
}
@@ -78,7 +78,7 @@ namespace Nz
if (mode & OpenMode_Truncate)
openMode |= CREATE_ALWAYS;
else if (mode & OpenMode_MustExit)
else if (mode & OpenMode_MustExist)
openMode |= OPEN_EXISTING;
else
openMode |= OPEN_ALWAYS;