[Scummvm-git-logs] scummvm master -> 9840d81bf70534df2d625d3b87a4aaa928b17964

mduggan noreply at scummvm.org
Mon Nov 13 02:39:23 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:
9840d81bf7 GUI: Fix compile guards to work when flags not defined


Commit: 9840d81bf70534df2d625d3b87a4aaa928b17964
    https://github.com/scummvm/scummvm/commit/9840d81bf70534df2d625d3b87a4aaa928b17964
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2023-11-13T13:39:11+11:00

Commit Message:
GUI: Fix compile guards to work when flags not defined

Changed paths:
    gui/dump-all-dialogs.cpp


diff --git a/gui/dump-all-dialogs.cpp b/gui/dump-all-dialogs.cpp
index 4e7b24a7c98..9aa496c7342 100644
--- a/gui/dump-all-dialogs.cpp
+++ b/gui/dump-all-dialogs.cpp
@@ -97,7 +97,7 @@ void dumpDialogs(const Common::String &message, int res, const Common::String &l
 	GUI::AboutDialog aboutDialog;
 	handleSimpleDialog(aboutDialog, "aboutDialog-", surf);
 
-#if USE_CLOUD && USE_LIBCURL
+#if defined(USE_CLOUD) && defined(USE_LIBCURL)
 	// CloudConnectingWizard
 	GUI::CloudConnectionWizard cloudConnectingWizard;
 	handleSimpleDialog(cloudConnectingWizard, "cloudConnectingWizard-", surf);
@@ -115,7 +115,7 @@ void dumpDialogs(const Common::String &message, int res, const Common::String &l
 	handleSimpleDialog(downloadShaderPacksDialog, "downloadShaderPacksDialog-", surf);
 #endif
 
-#if USE_FLUIDSYNTH
+#ifdef USE_FLUIDSYNTH
 	// FluidSynthSettingsDialog
 	GUI::FluidSynthSettingsDialog fluidSynthSettingsDialog;
 	handleSimpleDialog(fluidSynthSettingsDialog, "fluidSynthSettings-", surf);




More information about the Scummvm-git-logs mailing list