From 3e696fae0f30e12b13c0e932d022ce4b7427c3c8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 16 Apr 2025 00:07:33 +0100 Subject: Reduce the maximum line length from 120 to 100. This should fit on user screens a bit better. --- src/misc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/misc.cpp') diff --git a/src/misc.cpp b/src/misc.cpp index 0a6a38488..97b9d0604 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -160,7 +160,7 @@ void ListFormatter::Process(std::vector &buffer) lengths[column] = entry[column].length(); } } - const auto max_length = Config->GetBlock("options").Get("linelength", "120"); + const auto max_length = Config->GetBlock("options").Get("linelength", "100"); unsigned total_length = 0; for (const auto &[column, length] : lengths) { @@ -281,7 +281,7 @@ bool TextSplitter::GetLine(Anope::string &out) out.append(fmt); // The maximum length of a line. - const auto max_length = Config->GetBlock("options").Get("linelength", "120"); + const auto max_length = Config->GetBlock("options").Get("linelength", "100"); // The current printable length of the output. size_t current_length = 0; -- cgit