From a975142a8d70c08bdfaaa2319f9cf7cc49117a3a Mon Sep 17 00:00:00 2001 From: Carl Nettelblad Date: Sun, 6 May 2001 17:27:50 +0000 Subject: [PATCH] Last change stop CD from working. That's fixed now. svn path=/trunk/; revision=1893 --- rosapps/cmd/internal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rosapps/cmd/internal.c b/rosapps/cmd/internal.c index b702cf85880..b5994789701 100644 --- a/rosapps/cmd/internal.c +++ b/rosapps/cmd/internal.c @@ -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);