GUI: Initialize PredictiveDialog::_predictiveResult.

This fixes garbage output when canceling the predictive dialog in AGI when
nothing was entered.
This commit is contained in:
Johannes Schickel 2013-10-02 00:06:58 +02:00
parent 6ace85a84d
commit 225a823555

View file

@ -144,6 +144,7 @@ PredictiveDialog::PredictiveDialog() : Dialog("Predictive") {
_currentWord.clear();
_wordNumber = 0;
_numMatchingWords = 0;
memset(_predictiveResult, 0, sizeof(_predictiveResult));
_lastbutton = kNoAct;
_mode = kModePre;