Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37843163
en ru br
ALT Linux repos
S:2.14.7-alt1

Group :: Games/Strategy
RPM: 7kaa

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: OGAMEMP.patch
Download


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;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin