fix breakage - sorry

svn path=/trunk/; revision=17822
This commit is contained in:
Royce Mitchell III 2005-09-12 19:58:34 +00:00
parent 831020dc3d
commit 6ad405d90f

View file

@ -276,7 +276,7 @@ INT cmd_chdir (LPTSTR cmd, LPTSTR param)
TCHAR * tmpPath;
TCHAR szCurrent[MAX_PATH];
TCHAR szMsg[RC_STRING_MAX_SIZE];
UINT i;
INT i;
/* Filter out special cases first */
@ -329,7 +329,7 @@ INT cmd_chdir (LPTSTR cmd, LPTSTR param)
/* Remove " */
i = 0;
while(i < _tcslen(szPath))
while(i < (INT)_tcslen(szPath))
{
if(szPath[i] == _T('\"'))
memmove(&szPath[i],&szPath[i + 1], _tcslen(&szPath[i]) * sizeof(TCHAR));