aboutsummaryrefslogtreecommitdiff
path: root/gui/predictivedialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/predictivedialog.h')
-rw-r--r--gui/predictivedialog.h2
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...