mirror of
https://github.com/anope/anope.git
synced 2026-07-02 15:13:13 +02:00
Reduce the maximum line length from 120 to 100.
This should fit on user screens a bit better.
This commit is contained in:
+2
-2
@@ -160,7 +160,7 @@ void ListFormatter::Process(std::vector<Anope::string> &buffer)
|
||||
lengths[column] = entry[column].length();
|
||||
}
|
||||
}
|
||||
const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "120");
|
||||
const auto max_length = Config->GetBlock("options").Get<size_t>("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<size_t>("linelength", "120");
|
||||
const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "100");
|
||||
|
||||
// The current printable length of the output.
|
||||
size_t current_length = 0;
|
||||
|
||||
Reference in New Issue
Block a user