Don't dereference the pointers. Catch by Thomas.

svn path=/trunk/; revision=17548
This commit is contained in:
Brandon Turner 2005-08-25 22:09:10 +00:00
parent 8feae80765
commit 5509951fc0

View file

@ -250,8 +250,8 @@ INT GetRedirection (LPTSTR s, LPTSTR ifn, LPTSTR ofn, LPTSTR efn, LPINT lpnFlags
{ {
if (*sp == _T('^')) if (*sp == _T('^'))
{ {
*sp++; sp++;
*sp++; sp++;
continue; continue;
} }
else if ((*sp == _T('"')) || (*sp == _T('\''))) else if ((*sp == _T('"')) || (*sp == _T('\'')))