GUI: Initialize PredictiveDialog::_predictiveResult.
This fixes garbage output when canceling the predictive dialog in AGI when nothing was entered.
This commit is contained in:
parent
6ace85a84d
commit
225a823555
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ PredictiveDialog::PredictiveDialog() : Dialog("Predictive") {
|
|||
_currentWord.clear();
|
||||
_wordNumber = 0;
|
||||
_numMatchingWords = 0;
|
||||
memset(_predictiveResult, 0, sizeof(_predictiveResult));
|
||||
|
||||
_lastbutton = kNoAct;
|
||||
_mode = kModePre;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue