public: make COM_FixSlashes inlined

This commit is contained in:
Alibek Omarov
2024-12-29 09:05:15 +03:00
parent 62f3354f4e
commit 03eac904c1
2 changed files with 13 additions and 16 deletions

View File

@@ -663,21 +663,6 @@ void COM_RemoveLineFeed( char *str, size_t bufsize )
}
}
/*
============
COM_FixSlashes
Changes all '\' characters into '/' characters, in place.
============
*/
void COM_FixSlashes( char *pname )
{
while(( pname = Q_strchr( pname, '\\' )))
{
*pname = '/';
}
}
/*
============
COM_PathSlashFix