diff --git a/source/Irrlicht/CIrrDeviceLinux.cpp b/source/Irrlicht/CIrrDeviceLinux.cpp index 91d1e470..47d8c56b 100644 --- a/source/Irrlicht/CIrrDeviceLinux.cpp +++ b/source/Irrlicht/CIrrDeviceLinux.cpp @@ -113,13 +113,13 @@ CIrrDeviceLinux::CIrrDeviceLinux(const SIrrlichtCreationParameters& param) XDisplay(0), VisualInfo(0), Screennr(0), XWindow(0), StdHints(0), XInputMethod(0), XInputContext(0), HasNetWM(false), -#endif -#if defined(_IRR_LINUX_X11_XINPUT2_) - currentTouchedCount(0), #endif Width(param.WindowSize.Width), Height(param.WindowSize.Height), WindowHasFocus(false), WindowMinimized(false), ExternalWindow(false), AutorepeatSupport(0) +#if defined(_IRR_LINUX_X11_XINPUT2_) + , currentTouchedCount(0) +#endif { #ifdef _DEBUG setDebugName("CIrrDeviceLinux"); diff --git a/source/Irrlicht/CWriteFile.cpp b/source/Irrlicht/CWriteFile.cpp index aa07b49e..2af6936a 100644 --- a/source/Irrlicht/CWriteFile.cpp +++ b/source/Irrlicht/CWriteFile.cpp @@ -12,7 +12,7 @@ namespace io CWriteFile::CWriteFile(const io::path& fileName, bool append) -: FileSize(0), Filename(fileName) +: Filename(fileName), FileSize(0) { #ifdef _DEBUG setDebugName("CWriteFile");