From 8dd7ee7eb4b4fcdd646d0a2226c41e4ad8075514 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sat, 7 May 2005 20:02:50 +0000 Subject: [PATCH] Fix a old bug in dir it did only accpet lower letters as param change from ansi _toupper to tchar _totupper it is now both uncide and ansi compatible svn path=/trunk/; revision=15088 --- reactos/subsys/system/cmd/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsys/system/cmd/dir.c b/reactos/subsys/system/cmd/dir.c index 3a9a6861e69..4710e7efacf 100644 --- a/reactos/subsys/system/cmd/dir.c +++ b/reactos/subsys/system/cmd/dir.c @@ -262,7 +262,7 @@ DirReadParam(LPTSTR Line, /* [IN] The line with the parameters & switches */ { /* we save current character as it is and its upper case */ cCurChar = *Line; - cCurUChar = _toupper(*Line); + cCurUChar = _totupper(*Line); /* 1st section (see README_DIR.txt) */ /* When a switch is expecting */