console_cmds.c
changeset 4912 d04b3f2bca70
parent 4906 8a10678a62a3
child 5296 6a4aaa66eed3
--- a/console_cmds.c	Sat Oct 21 23:08:17 2006 +0000
+++ b/console_cmds.c	Sat Oct 21 23:31:34 2006 +0000
@@ -1217,7 +1217,7 @@
 
 		if (!p->is_active) continue;
 
-		GetString(buffer, STR_00D1_DARK_BLUE + _player_colors[p->index]);
+		GetString(buffer, STR_00D1_DARK_BLUE + _player_colors[p->index], lastof(buffer));
 		IConsolePrintF(8, "#:%d(%s) Company Name: '%s'  Year Founded: %d  Money: %d  Loan: %d  Value: %" OTTD_PRINTF64 "d  (T:%d, R:%d, P:%d, S:%d)",
 			p->index + 1, buffer, _network_player_info[p->index].company_name, p->inaugurated_year, p->player_money, p->current_loan, CalculateCompanyValue(p),
 			/* trains      */ _network_player_info[p->index].num_vehicle[0],