diff options
author | Paul Gilbert | 2019-08-02 19:45:14 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-08-02 19:45:14 -0700 |
commit | 2eb7479d91ae82a5e8fcc4c6e00d282b467e4ae1 (patch) | |
tree | e9dc0ae024e8f9575a35e06b266b01349befcdde /engines | |
parent | 7c15d0d232292ea7a87a8ecf78fda3ba1045794f (diff) | |
download | scummvm-rg350-2eb7479d91ae82a5e8fcc4c6e00d282b467e4ae1.tar.gz scummvm-rg350-2eb7479d91ae82a5e8fcc4c6e00d282b467e4ae1.tar.bz2 scummvm-rg350-2eb7479d91ae82a5e8fcc4c6e00d282b467e4ae1.zip |
GLK: Fix VS uninitialized field warnings
Diffstat (limited to 'engines')
-rw-r--r-- | engines/glk/frotz/windows.cpp | 2 | ||||
-rw-r--r-- | engines/glk/glk.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/frotz/windows.cpp b/engines/glk/frotz/windows.cpp index 8ebc263151..848dddb3b3 100644 --- a/engines/glk/frotz/windows.cpp +++ b/engines/glk/frotz/windows.cpp @@ -82,7 +82,7 @@ void Windows::setWindow(int win) { /*--------------------------------------------------------------------------*/ -Window::Window() : _windows(nullptr), _win(nullptr), _quotes(0), _dashes(0), _spaces(0), +Window::Window() : _windows(nullptr), _win(nullptr), _quotes(0), _dashes(0), _spaces(0), _index(-1), _currFont(TEXT_FONT), _prevFont(TEXT_FONT), _tempFont(TEXT_FONT), _currStyle(0), _oldStyle(0) { Common::fill(_properties, _properties + TRUE_BG_COLOR + 1, 0); _properties[Y_POS] = _properties[X_POS] = 1; diff --git a/engines/glk/glk.cpp b/engines/glk/glk.cpp index 892094a0b7..cffdd8b9b5 100644 --- a/engines/glk/glk.cpp +++ b/engines/glk/glk.cpp @@ -48,8 +48,8 @@ GlkEngine *g_vm; GlkEngine::GlkEngine(OSystem *syst, const GlkGameDescription &gameDesc) : _gameDescription(gameDesc), Engine(syst), _random("Glk"), _blorb(nullptr), _clipboard(nullptr), _conf(nullptr), _debugger(nullptr), _events(nullptr), _pictures(nullptr), - _screen(nullptr), _selection(nullptr), _sounds(nullptr), _windows(nullptr), - _copySelect(false), _terminated(false), _pcSpeaker(nullptr), + _screen(nullptr), _selection(nullptr), _sounds(nullptr), _streams(nullptr), _windows(nullptr), + _copySelect(false), _terminated(false), _pcSpeaker(nullptr), _loadSaveSlot(-1), gli_register_obj(nullptr), gli_unregister_obj(nullptr), gli_register_arr(nullptr), gli_unregister_arr(nullptr) { // Set up debug channels |