mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
Nit
This commit is contained in:
parent
6896e85f01
commit
5d27033b2e
@ -505,7 +505,8 @@ static struct buffer parse_string(struct buffer buff,
|
||||
value->type = is_binstr ? RDT_BINARY : RDT_STRING;
|
||||
value->val.string.len = (buff.data + buff.offset) - str_start - 1;
|
||||
|
||||
count = is_binstr ? (value->val.string.len + 1) / 2 : (value->val.string.len + 1);
|
||||
count = is_binstr ? (value->val.string.len + 1) / 2
|
||||
: (value->val.string.len + 1);
|
||||
value->val.string.buff = (char*)calloc(count, sizeof(char));
|
||||
|
||||
if (!value->val.string.buff)
|
||||
|
Loading…
x
Reference in New Issue
Block a user