mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-10-24 01:28:07 +00:00
qstring_from_substr() takes the index of the substring's first and last character. qstring_from_substr(s, 0, SIZE_MAX) denotes an empty substring. Awkward. Shift the end index one to the right. This simplifies both qstring_from_substr() and its callers. Backports commit ba891d68b4ff17faaea3d3a8bfd82af3eed0a134 from qemu |
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| qbool.c | ||
| qdict.c | ||
| qlist.c | ||
| qlit.c | ||
| qnull.c | ||
| qnum.c | ||
| qobject.c | ||
| qstring.c | ||