Core/File: Fix StreamOption_Text staying if reopened

Former-commit-id: b5d73fb753b8c38aa088ed793791efbbdbb404b5
This commit is contained in:
Lynix 2015-11-19 12:30:30 +01:00
parent 6eada337b8
commit bc4eb96af2
1 changed files with 2 additions and 0 deletions

View File

@ -261,6 +261,8 @@ namespace Nz
if (m_openMode & OpenMode_Text) if (m_openMode & OpenMode_Text)
m_streamOptions |= StreamOption_Text; m_streamOptions |= StreamOption_Text;
else
m_streamOptions &= ~StreamOption_Text;
return true; return true;
} }