mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
public: make COM_FixSlashes inlined
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user