diff options
author | Johannes Schickel | 2016-01-24 03:19:59 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-01-24 03:19:59 +0100 |
commit | c72d95cbcc81d4a9f2a51f7147e1d805c46e0d82 (patch) | |
tree | fc322668f3b93c6d030e38fe816f370bcea82965 /gui/predictivedialog.h | |
parent | 144765827fdfe459bd82be34661a51ffec415944 (diff) | |
download | scummvm-rg350-c72d95cbcc81d4a9f2a51f7147e1d805c46e0d82.tar.gz scummvm-rg350-c72d95cbcc81d4a9f2a51f7147e1d805c46e0d82.tar.bz2 scummvm-rg350-c72d95cbcc81d4a9f2a51f7147e1d805c46e0d82.zip |
GUI: Add constructor instead of duplicating initialization.
Diffstat (limited to 'gui/predictivedialog.h')
-rw-r--r-- | gui/predictivedialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/predictivedialog.h b/gui/predictivedialog.h index 9074089f1f..a7b7b993cc 100644 --- a/gui/predictivedialog.h +++ b/gui/predictivedialog.h @@ -78,6 +78,8 @@ public: const char *getResult() const { return _predictiveResult; } private: struct Dict { + Dict() : dictLine(nullptr), dictText(nullptr), dictActLine(nullptr), + dictLineCount(0), dictTextSize(0) {} char **dictLine; char *dictText; char *dictActLine; // using only for united dict... |