mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +00:00
Merge pull request #11516 from Tatsuya79/patch-2
fix string_split_to_qt
This commit is contained in:
commit
a025835abb
@ -776,7 +776,7 @@ QStringList string_split_to_qt(QString str, char delim)
|
|||||||
int spl = str.indexOf(delim, at);
|
int spl = str.indexOf(delim, at);
|
||||||
|
|
||||||
/* Store split into list of extensions */
|
/* Store split into list of extensions */
|
||||||
list << str.mid(at, (spl < 0 ? str.length() : spl));
|
list << str.mid(at, (spl < 0 ? -1 : spl - at));
|
||||||
|
|
||||||
/* No more splits */
|
/* No more splits */
|
||||||
if (spl < 0)
|
if (spl < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user