diff --git a/7kaa/src/client/OGAMEMP.cpp b/7kaa/src/client/OGAMEMP.cpp index 6a54799..7272a99 100644 --- a/7kaa/src/client/OGAMEMP.cpp +++ b/7kaa/src/client/OGAMEMP.cpp @@ -4966,7 +4966,7 @@ int Game::mp_select_load_option(char *fileName) String str; snprintf(str, - 255, + 9, ngettext("This multiplayer saved game needs %d human players while now there is only %d human player.", "This multiplayer saved game needs %d human players while now there are only %d human players.", regPlayerCount), @@ -5123,7 +5123,7 @@ int Game::mp_select_load_option(char *fileName) String str; snprintf(str, - 255, + 9, ngettext("This multiplayer saved game needs %d human players while now there is only %d human player.", "This multiplayer saved game needs %d human players while now there are only %d human players.", playerCount), @@ -5141,7 +5141,7 @@ int Game::mp_select_load_option(char *fileName) { String str; - snprintf(str, 255, _("This multiplayer saved game can only support %d human players while now there are %d human players. The game cannot start."), maxPlayer, playerCount); + snprintf(str, 9, _("This multiplayer saved game can only support %d human players while now there are %d human players. The game cannot start."), maxPlayer, playerCount); box.msg(str); return 0;