mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
public: add new features to ParseFileSafe, such as disabling interpreting certain characters as separate tokens, or instead forcing them to be separate tokens
This commit is contained in:
@@ -412,7 +412,8 @@ public:
|
||||
qboolean qquoted;
|
||||
char *p;
|
||||
|
||||
p = COM_ParseFileSafe( buf, token, PFILE_FS_TOKEN_MAX_LENGTH, 0, nullptr, &qquoted );
|
||||
// filesystem_stdio expects 512 byte buffers
|
||||
p = COM_ParseFileSafe( buf, token, 512, 0, nullptr, &qquoted );
|
||||
|
||||
if( quoted )
|
||||
*quoted = qquoted;
|
||||
|
||||
Reference in New Issue
Block a user