Merge branch 'newqt' of ssh://github.com/Cacodemon345/86box into newqt
This commit is contained in:
@@ -626,7 +626,7 @@ plat_init_rom_paths()
|
|||||||
while (xdg_rom_paths[strlen(xdg_rom_paths) - 1] == ':') {
|
while (xdg_rom_paths[strlen(xdg_rom_paths) - 1] == ':') {
|
||||||
xdg_rom_paths[strlen(xdg_rom_paths) - 1] = '\0';
|
xdg_rom_paths[strlen(xdg_rom_paths) - 1] = '\0';
|
||||||
}
|
}
|
||||||
QStringList path_list = QString(xdg_rom_paths).split(":", Qt::SkipEmptyParts);
|
QStringList path_list = QString(xdg_rom_paths).split(":");
|
||||||
for (auto& cur_path : path_list) {
|
for (auto& cur_path : path_list) {
|
||||||
if (cur_path.right(1) != '/')
|
if (cur_path.right(1) != '/')
|
||||||
cur_path.push_back('/');
|
cur_path.push_back('/');
|
||||||
|
Reference in New Issue
Block a user