Skip to content

Commit 04e9cab

Browse files
author
ewasylishen
committed
keys.c: increase CMDLINES (history.txt lines) from 32 to 64
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1552 af15c1b1-3010-417e-b628-4374ebc0bcbd
1 parent 83cfc6e commit 04e9cab

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

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)