mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Remove extraneous 'V_FixSlashes' call
No need to fix slashes when stripping last dir. We can always fix them up on a subsequent call to 'V_FixSlashes' if we ever need to.
This commit is contained in:
parent
42d12a644e
commit
77299dd3de
@ -800,8 +800,6 @@ size_t V_StripLastDir(char* dirName, size_t maxLen)
|
||||
if (PATHSEPARATOR(dirName[len - 1]))
|
||||
{
|
||||
dirName[len] = '\0';
|
||||
V_FixSlashes(dirName, CORRECT_PATH_SEPARATOR);
|
||||
|
||||
return len;
|
||||
}
|
||||
else if (dirName[len - 1] == ':')
|
||||
|
Loading…
x
Reference in New Issue
Block a user