Fixed a warning.

svn path=/trunk/; revision=2054
This commit is contained in:
Eric Kohl 2001-07-12 11:59:51 +00:00
parent e9f2e019b1
commit 562836fa81

View file

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