From 8f6b3154e571ee6617c90b66a79bb7829d28baad Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 2 May 2005 17:05:59 +0000 Subject: (svn r2247) - Fix (regression): executing scripts now works (remove newline character(s)). - Fix: getting help for an alias works - Fix: '|' is an unprintable character, replace it with '\' --- console.c | 1 + 1 file changed, 1 insertion(+) (limited to 'console.c') diff --git a/console.c b/console.c index 88e299b14..7555c9f62 100644 --- a/console.c +++ b/console.c @@ -1023,6 +1023,7 @@ void IConsoleCmdExec(const char *cmdstr) for (cmdptr = cmdstr; *cmdptr != '\0'; *cmdptr++) { if (!IsValidAsciiChar(*cmdptr)) { IConsoleError("command contains malformed characters, aborting"); + IConsolePrintF(_iconsole_color_error, "ERROR: command was: '%s'", cmdstr); return; } } -- cgit v1.2.3-54-g00ecf