Skip to content

Commit

Permalink
debug: fix ISDEBUG checking (#8823)
Browse files Browse the repository at this point in the history
  • Loading branch information
alyanser authored and vaxerski committed Dec 25, 2024
1 parent 2a24a61 commit 1a3d17d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/debug/CrashReporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void NCrashReporter::createAndSaveCrash(int sig) {
#ifdef LEGACY_RENDERER
finalCrashReport += "legacyrenderer\n";
#endif
#ifndef ISDEBUG
#if ISDEBUG
finalCrashReport += "debug\n";
#endif
#ifdef NO_XWAYLAND
Expand Down
6 changes: 3 additions & 3 deletions src/debug/HyprCtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -884,14 +884,14 @@ std::string versionRequest(eHyprCtlOutputFormat format, std::string request) {
HYPRLAND_VERSION, GIT_BRANCH, GIT_COMMIT_HASH, GIT_DIRTY, commitMsg, GIT_COMMIT_DATE, GIT_TAG, GIT_COMMITS, AQUAMARINE_VERSION,
HYPRLANG_VERSION, HYPRUTILS_VERSION, HYPRCURSOR_VERSION, HYPRGRAPHICS_VERSION);

#if (!defined(LEGACY_RENDERER) && !defined(ISDEBUG) && !defined(NO_XWAYLAND))
#if (!defined(LEGACY_RENDERER) && !ISDEBUG && !defined(NO_XWAYLAND))
result += "no flags were set\n";
#else
result += "flags set:\n";
#ifdef LEGACY_RENDERER
result += "legacyrenderer\n";
#endif
#ifdef ISDEBUG
#if ISDEBUG
result += "debug\n";
#endif
#ifdef NO_XWAYLAND
Expand Down Expand Up @@ -922,7 +922,7 @@ std::string versionRequest(eHyprCtlOutputFormat format, std::string request) {
#ifdef LEGACY_RENDERER
result += "\"legacyrenderer\",";
#endif
#ifdef ISDEBUG
#if ISDEBUG
result += "\"debug\",";
#endif
#ifdef NO_XWAYLAND
Expand Down

0 comments on commit 1a3d17d

Please sign in to comment.