From 5089fd8b3c2ffb79e8ab43b83f666240bdf54351 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Sun, 18 Jul 2021 00:22:27 +0430 Subject: [PATCH] LibRegex: Also print a newline after each debug line Otherwise the new debug line would be printed right after the previous one without a newline. --- Userland/Libraries/LibRegex/RegexDebug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibRegex/RegexDebug.h b/Userland/Libraries/LibRegex/RegexDebug.h index ebe25d8ddb..9a89eb2ba7 100644 --- a/Userland/Libraries/LibRegex/RegexDebug.h +++ b/Userland/Libraries/LibRegex/RegexDebug.h @@ -82,7 +82,7 @@ public: builder.appendff(", next ip: {}", state.instruction_position + opcode.size()); } - out(m_file, " | {:20}", builder.to_string()); + outln(m_file, " | {:20}", builder.to_string()); if (is(opcode)) { for (auto& line : to(opcode).variable_arguments_to_string(input)) {