Fix a typo, causing a wrong error message to be displayed

This commit is contained in:
Olivier Teulière 2012-10-06 11:52:31 +02:00
parent e51d2f9a23
commit d3c9c504ba

View file

@ -172,7 +172,7 @@ void PlayerWidget::pass(QString inputLetters)
msg = msg.arg(_q("The rack of the current player does not contain all the listed letters"));
else if (res == 3)
msg = msg.arg(_q("The game is already finished!"));
else if (res == 3)
else if (res == 4)
msg = msg.arg(_q("Some letters are invalid for the current dictionary"));
else
msg = msg.arg(_q("Unknown error"));