mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +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);
|
||||
|
||||
/* 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 */
|
||||
if (spl < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user