Patch by Michael Fritscher

Change error message displayed when trying to 'cd' to non-existent dir

svn path=/trunk/; revision=7917
This commit is contained in:
Gé van Geldorp 2004-01-30 12:34:02 +00:00
parent 5c0e9ff60d
commit b61bc104f2

View file

@ -246,7 +246,8 @@ INT cmd_chdir (LPTSTR cmd, LPTSTR param)
if (!SetCurrentDirectory (dir))
{
ErrorMessage (GetLastError(), _T("CD"));
//ErrorMessage (GetLastError(), _T("CD"));
ConErrPrintf (_T("Dir \"%s\" doesn't seem to exist!"),dir);
/* throw away current directory */
free (lpOldPath);