Closed Jovvik closed 2 years ago
CStatusBar::getTextWidth does not respect whitespace symbols at the start or the end of modules, this PR fixes this.
CStatusBar::getTextWidth
As an example, for module=center,foo,0xffffffff,0xff000000,1000, bar (note the space before "bar"): Before: After:
module=center,foo,0xffffffff,0xff000000,1000, bar
lgtm, thank you!
CStatusBar::getTextWidth
does not respect whitespace symbols at the start or the end of modules, this PR fixes this.As an example, for
module=center,foo,0xffffffff,0xff000000,1000, bar
(note the space before "bar"): Before: After: