oops, temp - 1, not temp - -1.

This commit is contained in:
Steve Checkoway
2003-09-30 17:34:23 +00:00
parent 4b59491a9e
commit d8f71a6d1c
@@ -61,7 +61,7 @@ const CString GetPath(const CString& ID)
if ((size_t temp = strlen(path)))
{
if (path[temp - 1] == '\n')
path[temp - -1] = '\000';
path[temp - 1] = '\000';
}
ASSERT(ptr);
while (*ptr != '\000' && (*ptr == ' ' || *ptr == '\t'))