Commit 87cec68833116cee0b3d73e2ac8b393f76e97da2
Drop extra space after last network interface
Previous commit introduced `i`, but it was not modified.
Author: xaizek
Author date (UTC): 2018-12-14 19:06
Committer name: xaizek
Committer date (UTC): 2018-12-14 19:06
Parent(s): abb416490bc07e69f47ff4cbdcfa1a6ae18d91e7
Signing key: 99DC5E4DB05F6BE2
Tree: 5ed1ea1f1a1d0237d2edaad2f69e5d81ba66585a
File src/Network.cpp changed (mode: 100644) (index a290750..8752899) |
... |
... |
void Network::update() |
68 |
68 |
result << speedColor |
result << speedColor |
69 |
69 |
<< std::setw(3) << rx << " k↓ " |
<< std::setw(3) << rx << " k↓ " |
70 |
70 |
<< std::setw(3) << tx << " k↑"; |
<< std::setw(3) << tx << " k↑"; |
71 |
|
if (i < static_cast<int>(ifaces.size()) - 1) { |
|
|
71 |
|
if (i++ < static_cast<int>(ifaces.size()) - 1) { |
72 |
72 |
result << ' '; |
result << ' '; |
73 |
73 |
} |
} |
74 |
74 |
} |
} |