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

@@ -89,7 +89,7 @@ aiFile* StreamOpener(aiFileIO* fileIO, const char* filePath, const char* openMod
{
openModeEnum |= OpenMode_ReadOnly;
if (std::strchr(openMode, '+'))
openModeEnum |= OpenMode_ReadWrite | OpenMode_MustExit;
openModeEnum |= OpenMode_ReadWrite | OpenMode_MustExist;
}
else if (std::strchr(openMode, 'w'))
{