1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:17:44 +00:00

HexEditor: Don't spam debug output when finding all strings

For each string found we would output it, which was way too much noise
:^)
This commit is contained in:
James Puleo 2022-07-28 02:40:27 -04:00 committed by Tim Flynn
parent 0bfcbf0b0a
commit 8695ae4c50

View file

@ -776,10 +776,8 @@ Vector<Match> HexEditor::find_all_strings(size_t min_length)
} }
builder.append(c); builder.append(c);
} else { } else {
if (builder.length() >= min_length) { if (builder.length() >= min_length)
dbgln("find_all_strings: relative_offset={} string={}", offset, builder.to_string());
matches.append({ offset, builder.to_string() }); matches.append({ offset, builder.to_string() });
}
builder.clear(); builder.clear();
found_string = false; found_string = false;
} }