1
0
Fork 0

Give some hints when we are on Z:\, but not on other drives.

Always return the directory for the drive if the drive exists.
Fixes/improves bug 390.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3888
This commit is contained in:
Peter Veenstra 2015-01-09 10:50:17 +00:00
parent 401d129694
commit 017fda9ba0
2 changed files with 17 additions and 6 deletions

View file

@ -462,7 +462,7 @@ void SHELL_Init() {
MSG_Add("SHELL_ILLEGAL_SWITCH","Illegal switch: %s.\n");
MSG_Add("SHELL_MISSING_PARAMETER","Required parameter missing.\n");
MSG_Add("SHELL_CMD_CHDIR_ERROR","Unable to change to: %s.\n");
MSG_Add("SHELL_CMD_CHDIR_HINT","To change to different drive type \033[31m%c:\033[0m\n");
MSG_Add("SHELL_CMD_CHDIR_HINT","Hint: To change to different drive type \033[31m%c:\033[0m\n");
MSG_Add("SHELL_CMD_CHDIR_HINT_2","directoryname is longer than 8 characters and/or contains spaces.\nTry \033[31mcd %s\033[0m\n");
MSG_Add("SHELL_CMD_CHDIR_HINT_3","You are still on drive Z:, change to a mounted drive with \033[31mC:\033[0m.\n");
MSG_Add("SHELL_CMD_DATE_HELP","Displays or changes the internal date.\n");