Fixed NzFile::Text not being applied to stream

Former-commit-id: 59416a8ca8d86e9ef41945a168a9cc1e104efe4d
This commit is contained in:
Jérôme Leclercq 2012-11-08 14:21:40 +01:00
parent 6301bd8f38
commit 1b61c97c8d
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ bool NzFile::Open(unsigned long openMode)
}
if (m_openMode & Text)
m_streamOptions &= nzStreamOption_Text;
m_streamOptions |= nzStreamOption_Text;
return true;
}