GUI: Fix compilation

This commit is contained in:
Eugene Sandulenko 2021-11-12 14:50:11 +01:00
parent 6f773e2d01
commit eb2625114d
No known key found for this signature in database
GPG Key ID: 014D387312D34F08
2 changed files with 3 additions and 3 deletions

View File

@ -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() != '\\') {

View File

@ -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()) {