oops, temp - 1, not temp - -1.
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user