mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
GUI: Fix compilation
This commit is contained in:
parent
6f773e2d01
commit
eb2625114d
@ -356,8 +356,8 @@ void LauncherDialog::addGame() {
|
||||
if (_browser->runModal() > 0) {
|
||||
// User made his choice...
|
||||
#if defined(USE_CLOUD) && defined(USE_LIBCURL)
|
||||
String selectedDirectory = _browser->getResult().getPath();
|
||||
String bannedDirectory = CloudMan.getDownloadLocalDirectory();
|
||||
Common::String selectedDirectory = _browser->getResult().getPath();
|
||||
Common::String bannedDirectory = CloudMan.getDownloadLocalDirectory();
|
||||
if (selectedDirectory.size() && selectedDirectory.lastChar() != '/' && selectedDirectory.lastChar() != '\\')
|
||||
selectedDirectory += '/';
|
||||
if (bannedDirectory.size() && bannedDirectory.lastChar() != '/' && bannedDirectory.lastChar() != '\\') {
|
||||
|
@ -144,7 +144,7 @@ void RemoteBrowserDialog::updateListing() {
|
||||
|
||||
if (!_navigationLocked) {
|
||||
// Populate the ListWidget
|
||||
ListWidget::U32StringArray list;
|
||||
Common::U32StringArray list;
|
||||
ListWidget::ColorList colors;
|
||||
for (Common::Array<Cloud::StorageFile>::iterator i = _nodeContent.begin(); i != _nodeContent.end(); ++i) {
|
||||
if (i->isDirectory()) {
|
||||
|
Loading…
Reference in New Issue
Block a user