mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
Fixed a warning.
svn path=/trunk/; revision=2054
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user