Skip to content
Myr

render: we already have max() defined at the top

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent a2b2eb0 · Browse files · 1 file+0 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−4 removed

  • other:+0 added−4 removed

1 file+0 added−4 removed

modified:render.c-4 removed
468 unmodified lines
469470 const struct fcft_glyph *W = fcft_glyph_rasterize(471 font, L'W', render->subpixel);472473#define max(x, y) ((x) > (y) ? (x) : (y))474473 const unsigned x_margin = render->options.pad.x * scale;474 const unsigned y_margin = render->options.pad.y * scale;475478#undef max479476 const unsigned border_size = render->options.border_size * scale;477478 const unsigned row_height = render->options.line_height.px >= 0479 ? pt_or_px_as_pixels(&render->options.line_height, dpi)
45 unmodified lines