Core/File: Fix StreamOption_Text staying if reopened
Former-commit-id: b5d73fb753b8c38aa088ed793791efbbdbb404b5
This commit is contained in:
parent
6eada337b8
commit
bc4eb96af2
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue