diff --git a/ChangeLog b/ChangeLog index f7f9bda1..fe845bdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,4 +2,4 @@ - fixed compilation error on FreeBSD when #disable_joystick was defined - int10_writechar has been updated to move the cursor position. - changed the basedir routines to use the current working dir instead of argv[0]. This will fix and brake things :) - + - illegal command, now displays the command diff --git a/src/dosbox.lang b/src/dosbox.lang index 2a68c7ff..783083cd 100644 --- a/src/dosbox.lang +++ b/src/dosbox.lang @@ -71,5 +71,5 @@ The DOSBox Team Drive %c does not exist! . :SHELL_EXECUTE_ILLEGAL_COMMAND -Illegal command +Illegal command: %s . diff --git a/src/shell/shell_misc.cpp b/src/shell/shell_misc.cpp index 1d003c35..bb939ad9 100644 --- a/src/shell/shell_misc.cpp +++ b/src/shell/shell_misc.cpp @@ -138,7 +138,7 @@ void DOS_Shell::Execute(char * name,char * args) { /* Check for a full name */ fullname=Which(name); if (!fullname) { - WriteOut(MSG_Get("SHELL_EXECUTE_ILLEGAL_COMMAND")); + WriteOut(MSG_Get("SHELL_EXECUTE_ILLEGAL_COMMAND"),name); return; } if (strcasecmp(strrchr(fullname, '.'), ".bat") == 0) {