diff --git a/Quake/keys.c b/Quake/keys.c index 69e2c20b..15f77edf 100644 --- a/Quake/keys.c +++ b/Quake/keys.c @@ -27,7 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /* key up events are sent even if in console mode */ #define HISTORY_FILE_NAME "history.txt" -#define CMDLINES 32 char key_lines[CMDLINES][MAXCMDLINE]; diff --git a/Quake/keys.h b/Quake/keys.h index 32f2eac2..2e178efc 100644 --- a/Quake/keys.h +++ b/Quake/keys.h @@ -163,7 +163,9 @@ typedef enum {key_game, key_console, key_message, key_menu} keydest_t; extern keydest_t key_dest; extern char *keybindings[MAX_KEYS]; -extern char key_lines[32][MAXCMDLINE]; +#define CMDLINES 64 + +extern char key_lines[CMDLINES][MAXCMDLINE]; extern int edit_line; extern int key_linepos; extern int key_insert;