summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-04-23 21:01:45 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-04-23 21:02:30 +0200
commitedfbc3869361f709d70794a794199ac2076ea9f1 (patch)
tree555e1431f71d7f664df82ef8e8a55e0727900e43
parentd4889a909632f38418c630f257c00ccc595ba572 (diff)
The text of notices and audits shall not be bold
This turned out to be a bit too bold for most of them, given their informational nature.
-rw-r--r--apt-pkg/contrib/error.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/apt-pkg/contrib/error.cc b/apt-pkg/contrib/error.cc
index 83e90a026..054435b73 100644
--- a/apt-pkg/contrib/error.cc
+++ b/apt-pkg/contrib/error.cc
@@ -315,12 +315,14 @@ APT_HIDDEN std::ostream &operator<<(std::ostream &out, GlobalError::Item i)
case GlobalError::FATAL:
case GlobalError::ERROR:
case GlobalError::WARNING:
- case GlobalError::NOTICE:
- case GlobalError::AUDIT:
out << COLOR_RESET;
if (out_ver >= 30)
out << COLOR_BOLD;
break;
+ case GlobalError::NOTICE:
+ case GlobalError::AUDIT:
+ out << COLOR_RESET;
+ break;
default:
break;
}