Core/OpenMode: Rename ReadOnly/WriteOnly to Read/Write

This commit is contained in:
Lynix
2023-12-25 19:49:03 +01:00
parent 754a3d3614
commit 4065fbfb1a
24 changed files with 42 additions and 42 deletions

View File

@@ -91,7 +91,7 @@ namespace Nz
{
File file(filePath);
if (!file.Open(OpenMode::WriteOnly | OpenMode::Truncate))
if (!file.Open(OpenMode::Write | OpenMode::Truncate))
{
NazaraErrorFmt("failed to save to file: unable to open \"{0}\" in write mode", filePath);
return false;