From 08a9dac7690791ed4f71af8ebe1544374ba688be Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 3 Jan 2014 15:26:41 -0500 Subject: [PATCH] Allow for larger terminal emulators. --- empire.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/empire.h b/empire.h index 8f028f3..729852f 100644 --- a/empire.h +++ b/empire.h @@ -36,7 +36,15 @@ typedef long count_t; /* for iterating over or counting board locations */ #define NUMTOPS 3 /* number of lines at top of screen for messages */ #define NUMSIDES 6 /* number of lines at side of screen */ -#define STRSIZE 80 /* number of characters in a string */ + +/* + * This used to be 80, and that was appropriate back when this game was + * played on hardware terminals. Nowadays it's almost certain to be running + * on a software terminal emulator that would have been considered + * dizzyingly huge back in the day. Memory is cheap, we'll leave some + * headroom. + */ +#define STRSIZE 400 /* number of characters in a string */ /* Information we maintain about cities. */ -- 2.43.0