forked from external/yambar
particle/progress-bar: fix regression in width calculation: = -> +=
This commit is contained in:
parent
e9d762fa03
commit
e4e9587322
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ begin_expose(struct exposable *exposable)
|
|||
|
||||
/* Margins */
|
||||
if (have_at_least_one) {
|
||||
exposable->width = exposable->particle->left_margin +
|
||||
exposable->width += exposable->particle->left_margin +
|
||||
exposable->particle->right_margin;
|
||||
} else
|
||||
assert(exposable->width == 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue