From 8695ae4c50ab51200e893d86e82ce68892297f0d Mon Sep 17 00:00:00 2001 From: James Puleo Date: Thu, 28 Jul 2022 02:40:27 -0400 Subject: [PATCH] HexEditor: Don't spam debug output when finding all strings For each string found we would output it, which was way too much noise :^) --- Userland/Applications/HexEditor/HexEditor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Userland/Applications/HexEditor/HexEditor.cpp b/Userland/Applications/HexEditor/HexEditor.cpp index 0233c4e388..463392230d 100644 --- a/Userland/Applications/HexEditor/HexEditor.cpp +++ b/Userland/Applications/HexEditor/HexEditor.cpp @@ -776,10 +776,8 @@ Vector HexEditor::find_all_strings(size_t min_length) } builder.append(c); } else { - if (builder.length() >= min_length) { - dbgln("find_all_strings: relative_offset={} string={}", offset, builder.to_string()); + if (builder.length() >= min_length) matches.append({ offset, builder.to_string() }); - } builder.clear(); found_string = false; }