public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio

This commit is contained in:
Alibek Omarov
2022-07-11 00:34:48 +03:00
parent fc132e87f4
commit 5350d88f57
8 changed files with 32 additions and 18 deletions

View File

@@ -1224,6 +1224,11 @@ static int pfnGetRenderers( unsigned int num, char *shortName, size_t size1, cha
return 1;
}
static char *pfnParseFileSafe( char *data, char *buf, const int size, unsigned int flags, int *len )
{
return COM_ParseFileSafe( data, buf, size, flags, len, NULL );
}
static ui_extendedfuncs_t gExtendedfuncs =
{
pfnEnableTextInput,
@@ -1232,7 +1237,7 @@ static ui_extendedfuncs_t gExtendedfuncs =
Con_UtfMoveRight,
pfnGetRenderers,
Sys_DoubleTime,
_COM_ParseFileSafe,
pfnParseFileSafe,
NET_AdrToString
};