fix(label): Improve false positive token filtering
This commit is contained in:
parent
0f87d37137
commit
e0e9cae2eb
@ -171,7 +171,7 @@ namespace drawtypes {
|
|||||||
// ignore false positives
|
// ignore false positives
|
||||||
// lemonbar tags %{...}
|
// lemonbar tags %{...}
|
||||||
// trailing percentage signs %token%%
|
// trailing percentage signs %token%%
|
||||||
if (token_str[1] == '{' || token_str[1] == ' ') {
|
if (token_str.find_first_of("abdefghijklmnopqrstuvwxyz") != 1) {
|
||||||
line.erase(0, end);
|
line.erase(0, end);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user