Skip to content

Commit

Permalink
rename a variable
Browse files Browse the repository at this point in the history
No behavior change.
  • Loading branch information
nico committed Aug 5, 2024
1 parent 7222ebd commit 8189709
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demumble.cc
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ int main(int argc, char* argv[]) {
char* end = cur + strlen(cur);

while (cur != end) {
size_t special = strcspn(cur, "_?");
size_t offset_to_possible_symbol = strcspn(cur, "_?");
if (print_mode == kPrintAll)
printf("%.*s", static_cast<int>(special), cur);
printf("%.*s", static_cast<int>(offset_to_possible_symbol), cur);
else if (need_separator)
printf("\n");
need_separator = false;
cur += special;
cur += offset_to_possible_symbol;
if (cur == end)
break;

Expand Down

0 comments on commit 8189709

Please sign in to comment.