Fixed a warning.
authorEric Kohl <eric.kohl@reactos.org>
Thu, 12 Jul 2001 11:59:51 +0000 (11:59 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Thu, 12 Jul 2001 11:59:51 +0000 (11:59 +0000)
svn path=/trunk/; revision=2054

rosapps/cmd/internal.c

index b599478..fd3629e 100644 (file)
@@ -187,7 +187,7 @@ INT cmd_chdir (LPTSTR cmd, LPTSTR param)
        dir=param;
        endofstring=dir+_tcslen(dir);
 
-       while (lastquote = _tcsrchr(dir,'\"'))
+       while ((lastquote = _tcsrchr(dir,'\"')))
        {
                endofstring--;
                memmove(lastquote,lastquote+1,endofstring-lastquote);