Skip to content

Commit

Permalink
fixup formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Aug 2, 2024
1 parent ad24b88 commit 6c3fd8a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/archive/ArchiveAscii.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ namespace zenkit {
// Compatibility fix for binary data in ASCII archives.
std::string_view view = line;
size_t spaces_count = 0;
for (; spaces_count < view.size()
&& std::isspace(static_cast<unsigned char>(view[spaces_count]));
++spaces_count)
for (; spaces_count < view.size() && std::isspace(static_cast<unsigned char>(view[spaces_count]));
++spaces_count)
;

if (spaces_count > 0) {
Expand Down

0 comments on commit 6c3fd8a

Please sign in to comment.