Skip to content

Commit cf642bd

Browse files
committed
keys.c: increase CMDLINES (history.txt lines) from 32 to 64
1 parent 7c3ae0e commit cf642bd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

quakespasm/Quake/keys.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2727
/* key up events are sent even if in console mode */
2828

2929
#define HISTORY_FILE_NAME "history.txt"
30-
#define CMDLINES 32
3130

3231
char key_lines[CMDLINES][MAXCMDLINE];
3332

quakespasm/Quake/keys.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ typedef enum {key_game, key_console, key_message, key_menu} keydest_t;
163163
extern keydest_t key_dest;
164164
extern char *keybindings[MAX_KEYS];
165165

166-
extern char key_lines[32][MAXCMDLINE];
166+
#define CMDLINES 64
167+
168+
extern char key_lines[CMDLINES][MAXCMDLINE];
167169
extern int edit_line;
168170
extern int key_linepos;
169171
extern int key_insert;

0 commit comments

Comments
 (0)