mirror of
https://github.com/polybar/polybar.git
synced 2024-11-03 04:33:30 -05:00
parent
7f5117b7cc
commit
d561b9cb2d
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ void builder::node(string str, bool add_space) {
|
|||
string::size_type n, m;
|
||||
string s(move(str));
|
||||
|
||||
if ((n = s.size()) > 2 && s[0] == '"' && s[n - 1] == '"') {
|
||||
s = s.substr(1, n - 2);
|
||||
}
|
||||
|
||||
while (true) {
|
||||
if (s.empty()) {
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue