Update gtk128

This commit is contained in:
daleclack 2022-04-21 15:29:51 +08:00
parent 416a62a2ab
commit 273e286784
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ bool Game24::startgame(string user_result)
// Format result number
if (user_result != "")
{
if (user_result[user_result.length() - 1] != ')' || user_result[0] != '(')
if (user_result.length() < (*(result_strings.begin())).length())
{
user_result = '(' + user_result + ')';
}