Removed char &operator [] from class String -- it had the potential to wreak havoc when used on shared strings (thanks to tramboi for pointing this out)
svn-id: r31334
This commit is contained in:
parent
351851971b
commit
57ad73faee
4 changed files with 36 additions and 26 deletions
|
@ -430,7 +430,7 @@ bool AgiEngine::predictiveDialog(void) {
|
|||
else
|
||||
repeatcount[x - 1] = (repeatcount[x - 1] + 1) % 3;
|
||||
if (_currentCode.lastChar() >= '1')
|
||||
_currentWord[x - 1] = buttons[_currentCode[x - 1] - '1'][3 + repeatcount[x - 1]];
|
||||
_currentWord.setChar(buttons[_currentCode[x - 1] - '1'][3 + repeatcount[x - 1]], x-1);
|
||||
}
|
||||
}
|
||||
} else if (active == 10) { // add
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue