mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanup
This commit is contained in:
parent
e9e25aae7d
commit
f1432db433
@ -411,7 +411,7 @@ static struct buffer query_parse_string(
|
||||
if (terminator == 'b')
|
||||
{
|
||||
is_binstr = 1;
|
||||
buff = query_get_char(s, len,
|
||||
buff = query_get_char(s, len,
|
||||
buff, &terminator, error);
|
||||
}
|
||||
|
||||
@ -610,11 +610,12 @@ static struct buffer query_parse_argument(
|
||||
if (
|
||||
isalpha((int)buff.data[buff.offset])
|
||||
&& !(
|
||||
query_peek(buff, "nil", STRLEN_CONST("nil"))
|
||||
|| query_peek(buff, "true", STRLEN_CONST("true"))
|
||||
query_peek(buff, "nil", STRLEN_CONST("nil"))
|
||||
|| query_peek(buff, "true", STRLEN_CONST("true"))
|
||||
|| query_peek(buff, "false", STRLEN_CONST("false"))
|
||||
|| query_peek(buff, "b\"", STRLEN_CONST("b\""))
|
||||
|| query_peek(buff, "b'", STRLEN_CONST("b'")) /* bin string prefix*/
|
||||
|| query_peek(buff, "b\"", STRLEN_CONST("b\""))
|
||||
|| query_peek(buff, "b'", STRLEN_CONST("b'"))
|
||||
/* bin string prefix*/
|
||||
)
|
||||
)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user