Skip to content

Commit

Permalink
reinstate comment format
Browse files Browse the repository at this point in the history
Co-authored-by: Romaric Jodin <rjodin@chromium.org>
  • Loading branch information
Rekt3421 and rjodinchr authored Aug 29, 2024
1 parent 1cd3365 commit ff36633
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ void process_printf(char*& data, const printf_descriptor_map_t& descs,
// one format specifier each, handle each one individually
size_t arg_idx = 0;
while (next_part < format_string.size() - 1) {
// Get the part of the format string before the next format
// specifier
// Get the part of the format string before the next format specifier
size_t part_start = next_part;
size_t part_end = format_string.find_first_of('%', part_start + 1);

Expand Down

0 comments on commit ff36633

Please sign in to comment.