From 7945206ca0c5a958be9b19c1ddfc36c63d6783ef Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 17 May 2009 19:03:27 +0000 Subject: [PATCH] also block lines starting with "quit " from the history git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8973 d7cf8633-e32d-0410-b094-e92efae38249 --- keys.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keys.c b/keys.c index 885212da..1f5f7dce 100644 --- a/keys.c +++ b/keys.c @@ -100,6 +100,8 @@ static void Key_History_Push() mask = 0; if(!strcmp(key_line, "]quit")) // putting these into the history just sucks mask = 0; + if(!strncmp(key_line, "]quit ", 6)) // putting these into the history just sucks + mask = 0; Con_AddLine(key_line, strlen(key_line), mask); Con_PrintNotToHistory(key_line); // don't mark empty lines as history Con_PrintNotToHistory("\n"); -- 2.39.2