Skip to content

Commit

Permalink
select: computed: Wrap code to fit 80 cols
Browse files Browse the repository at this point in the history
  • Loading branch information
tlsa committed May 27, 2024
1 parent 48da882 commit 1cd7202
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/select/computed.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,10 @@ uint8_t css_computed_width(
case CSS_WIDTH_SET:
switch (unit) {
case CSS_UNIT_CALC:
if (css_calculator_calculate(style->calc, unit_ctx, available_px,
value.calc, style, &unit, &value.value) == CSS_OK) {
if (css_calculator_calculate(
style->calc, unit_ctx,
available_px, value.calc,
style, &unit, &value.value) == CSS_OK) {
type = CSS_WIDTH_SET;
*px_out = FIXTOINT(value.value);
} else {
Expand Down

0 comments on commit 1cd7202

Please sign in to comment.