Skip to content

Commit

Permalink
improve clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas1664 committed Apr 30, 2024
1 parent 2af3640 commit b1a4a0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vcpkg/base/system.console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ namespace vcpkg
{
std::lock_guard<std::mutex> lck{mtx};

for (auto&& line : lines)
for (auto&& [color, text] : lines)
{
print_unlocked(line.first, line.second);
print_unlocked(color, text);

if (line.second.back() != '\n')
if (text.back() != '\n')
{
print_unlocked(Color::none, "\n");
}
Expand Down

0 comments on commit b1a4a0d

Please sign in to comment.