aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/CWriteFile.cpp
diff options
context:
space:
mode:
authorHerman Semenov <GermanAizek@yandex.ru>2022-09-02 09:40:02 +0300
committerGitHub <noreply@github.com>2022-09-02 08:40:02 +0200
commitd733e03430cf623d722b2efe87872b68bb3d4d1f (patch)
tree768d2ab2ecfb92b40d3acda1f2057a2cf5ea8f2e /source/Irrlicht/CWriteFile.cpp
parentf0766c845f85c2f467843f20cf811c62cd2402c7 (diff)
downloadirrlicht-d733e03430cf623d722b2efe87872b68bb3d4d1f.tar.xz
Fix glHint parameter, type size and add more null checks (#130)
Diffstat (limited to 'source/Irrlicht/CWriteFile.cpp')
-rw-r--r--source/Irrlicht/CWriteFile.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/Irrlicht/CWriteFile.cpp b/source/Irrlicht/CWriteFile.cpp
index 3279402..aa07b49 100644
--- a/source/Irrlicht/CWriteFile.cpp
+++ b/source/Irrlicht/CWriteFile.cpp
@@ -12,13 +12,12 @@ namespace io
CWriteFile::CWriteFile(const io::path& fileName, bool append)
-: FileSize(0)
+: FileSize(0), Filename(fileName)
{
#ifdef _DEBUG
setDebugName("CWriteFile");
#endif
- Filename = fileName;
openFile(append);
}