[Scummvm-git-logs] scummvm master -> e29828f9a633fe46f456ffd56203a2c211f8f6af

sev- noreply at scummvm.org
Sun May 26 21:42:27 UTC 2024


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:
e29828f9a6 COMMON: Avoid name clash for global GUI debug level


Commit: e29828f9a633fe46f456ffd56203a2c211f8f6af
    https://github.com/scummvm/scummvm/commit/e29828f9a633fe46f456ffd56203a2c211f8f6af
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-05-26T23:42:10+02:00

Commit Message:
COMMON: Avoid name clash for global GUI debug level

Changed paths:
    common/debug.cpp
    common/debug.h


diff --git a/common/debug.cpp b/common/debug.cpp
index 113dc5b677a..3886af49217 100644
--- a/common/debug.cpp
+++ b/common/debug.cpp
@@ -34,7 +34,7 @@ bool gDebugChannelsOnly = false;
 const DebugChannelDef gDebugChannels[] = {
 	{ kDebugLevelEventRec,   "eventrec",  "Event recorder debug level" },
 	{ kDebugGlobalDetection, "detection", "debug messages for advancedDetector" },
-	{ kDebugLevelGUI,        "gui",       "debug messages for GUI" },
+	{ kDebugLevelMainGUI,    "maingui",   "debug messages for GUI" },
 	{ kDebugLevelMacGUI,     "macgui",    "debug messages for MacGUI" },
 	DEBUG_CHANNEL_END
 };
diff --git a/common/debug.h b/common/debug.h
index 36f57c6eddf..b26dd07b07b 100644
--- a/common/debug.h
+++ b/common/debug.h
@@ -163,7 +163,7 @@ extern bool gDebugChannelsOnly;
 enum GlobalDebugLevels {
 	kDebugGlobalDetection = 100000,
 	kDebugLevelEventRec,
-	kDebugLevelGUI,
+	kDebugLevelMainGUI,
 	kDebugLevelMacGUI,
 };
 




More information about the Scummvm-git-logs mailing list