Fixed File::SetOpenMode when used with File::Text

Former-commit-id: c4cf25bba883d636366399346589768115bc6520
This commit is contained in:
Lynix 2012-11-29 17:46:40 +01:00
parent a536bf467b
commit 73466a5c07
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ bool NzFile::SetOpenMode(unsigned int openMode)
m_impl = impl;
if (m_openMode & Text)
m_streamOptions &= nzStreamOption_Text;
m_streamOptions |= nzStreamOption_Text;
}
m_openMode = openMode;