mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
parent
18cf9df86c
commit
dffdc6a20b
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ void builder::space() {
|
|||
void builder::remove_trailing_space(size_t len) {
|
||||
if (len == 0_z || len > m_output.size()) {
|
||||
return;
|
||||
} else if (string(m_output.rbegin() + len, m_output.rbegin()) == string(len, ' ')) {
|
||||
} else if (m_output.substr(m_output.size() - len) == string(len, ' ')) {
|
||||
m_output.erase(m_output.size() - len);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue