Qt/CheatCodeEditor: Fix valid, encrypted AR codes not being accepted

This commit is contained in:
spycrab 2018-03-22 23:42:20 +01:00
parent 5e76f3a6d4
commit 196a1dcce4
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ bool CheatCodeEditor::AcceptAR()
QStringList blocks = line.split(QStringLiteral("-"));
if (blocks.size() == 3 && blocks[0].size() == 4 && blocks[1].size() == 4 &&
blocks[2].size() == 4)
blocks[2].size() == 5)
{
encrypted_lines.emplace_back(blocks[0].toStdString() + blocks[1].toStdString() +
blocks[2].toStdString());