Fixed File::SetOpenMode when used with File::Text
Former-commit-id: c4cf25bba883d636366399346589768115bc6520
This commit is contained in:
parent
a536bf467b
commit
73466a5c07
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue