mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
parent
4953c73fc1
commit
01879d27c2
12 changed files with 33 additions and 23 deletions
|
@ -367,7 +367,7 @@ void Editor::register_key_input_callback(const KeyBinding& binding)
|
|||
if (binding.kind == KeyBinding::Kind::InternalFunction) {
|
||||
auto internal_function = find_internal_function(binding.binding);
|
||||
if (!internal_function) {
|
||||
dbg() << "LibLine: Unknown internal function '" << binding.binding << "'";
|
||||
dbgln("LibLine: Unknown internal function '{}'", binding.binding);
|
||||
return;
|
||||
}
|
||||
return register_key_input_callback(binding.keys, move(internal_function));
|
||||
|
@ -1644,7 +1644,7 @@ Vector<size_t, 2> Editor::vt_dsr()
|
|||
// ????
|
||||
continue;
|
||||
}
|
||||
dbg() << "Error while reading DSR: " << strerror(errno);
|
||||
dbgln("Error while reading DSR: {}", strerror(errno));
|
||||
m_input_error = Error::ReadFailure;
|
||||
finish();
|
||||
return { 1, 1 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue