[Scummvm-git-logs] scummvm master -> 77d4b45b158cf18f6d073dab46b1f749235a0a5c

Tkachov noreply at scummvm.org
Sat Apr 8 16:08:48 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
77d4b45b15 GUI: Fix CloudConnectionWizard on 3ds


Commit: 77d4b45b158cf18f6d073dab46b1f749235a0a5c
    https://github.com/scummvm/scummvm/commit/77d4b45b158cf18f6d073dab46b1f749235a0a5c
Author: Alexander Tkachov (alexander at tkachov.ru)
Date: 2023-04-08T18:04:26+02:00

Commit Message:
GUI: Fix CloudConnectionWizard on 3ds

Changed paths:
    gui/cloudconnectionwizard.cpp


diff --git a/gui/cloudconnectionwizard.cpp b/gui/cloudconnectionwizard.cpp
index b11f1661a2b..1fd991eaea8 100644
--- a/gui/cloudconnectionwizard.cpp
+++ b/gui/cloudconnectionwizard.cpp
@@ -228,7 +228,10 @@ void CloudConnectionWizard::refreshStepQuickMode1(bool displayAsStopped) {
 	}
 
 	if (_label2) {
-		Common::U32String address = LocalServer.getAddress();
+		Common::U32String address;
+#ifdef USE_SDL_NET
+		address = LocalServer.getAddress();
+#endif // USE_SDL_NET
 		_label2->setLabel(serverIsRunning ? address : _("Not running"));
 	}
 }
@@ -519,6 +522,7 @@ void CloudConnectionWizard::manualModeStorageConnectionCallback(Networking::Erro
 				_s("OK"),
 				_s("Incorrect JSON.") // see "cloud/basestorage.cpp"
 			};
+			(void)knownErrorMessages;
 
 			_errorMessage = _(response.response.c_str());
 		} else {




More information about the Scummvm-git-logs mailing list