Last change stop CD from working. That's fixed now.

svn path=/trunk/; revision=1893
This commit is contained in:
Carl Nettelblad
2001-05-06 17:27:50 +00:00
parent 96a0d04b3b
commit a975142a8d
+2 -1
View File
@@ -256,7 +256,8 @@ INT cmd_chdir (LPTSTR cmd, LPTSTR param)
}
else
{
if (towupper(dir[0])!=lpOldPath[0])
GetCurrentDirectory(MAX_PATH, dir);
if (dir[0]!=lpOldPath[0])
{
SetCurrentDirectory(lpOldPath);
free(lpOldPath);