Fixed File::SetOpenMode when used with File::Text
Former-commit-id: c4cf25bba883d636366399346589768115bc6520
This commit is contained in:
@@ -390,7 +390,7 @@ bool NzFile::SetOpenMode(unsigned int openMode)
|
|||||||
m_impl = impl;
|
m_impl = impl;
|
||||||
|
|
||||||
if (m_openMode & Text)
|
if (m_openMode & Text)
|
||||||
m_streamOptions &= nzStreamOption_Text;
|
m_streamOptions |= nzStreamOption_Text;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_openMode = openMode;
|
m_openMode = openMode;
|
||||||
|
|||||||
Reference in New Issue
Block a user