diff --git a/gui/predictivedialog.cpp b/gui/predictivedialog.cpp index 5ce093e054f..c7d04e402ee 100644 --- a/gui/predictivedialog.cpp +++ b/gui/predictivedialog.cpp @@ -861,7 +861,6 @@ void PredictiveDialog::addWord(Dict &dict, const Common::String &word, const Com return; } - newDictLine[dict.dictLineCount] = '\0'; int k = 0; bool inserted = false;