From 836341f13b81c1b727614fffdf2d059ee5f5c754 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:45:35 -0500 Subject: [PATCH] spelling: subtracted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/applib/graphics/graphics_line.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fw/applib/graphics/graphics_line.c b/src/fw/applib/graphics/graphics_line.c index 3d050a63..9531416b 100644 --- a/src/fw/applib/graphics/graphics_line.c +++ b/src/fw/applib/graphics/graphics_line.c @@ -459,7 +459,7 @@ void prv_draw_stroked_line_precise(GContext* ctx, GPointPrecise p0, GPointPrecis // Drawing loop: Iterates over horizontal lines // As part of optimisation, this algorithm is moving between drawing boundaries, - // so drawing box has to be substracted from its clipping extremes + // so drawing box has to be subtracted from its clipping extremes const int16_t clip_min_y = ctx->draw_state.clip_box.origin.y - ctx->draw_state.drawing_box.origin.y; const int16_t clip_max_y = clip_min_y + ctx->draw_state.clip_box.size.h; @@ -585,7 +585,7 @@ void prv_draw_stroked_line_precise(GContext* ctx, GPointPrecise p0, GPointPrecis // Drawing loop: Iterates over vertical lines from left to right // As part of optimisation, this algorithm is moving between drawing boundaries, - // so drawing box has to be substracted from its clipping extremes + // so drawing box has to be subtracted from its clipping extremes const int16_t clip_min_x = ctx->draw_state.clip_box.origin.x - ctx->draw_state.drawing_box.origin.x; const int16_t clip_max_x = clip_min_x + ctx->draw_state.clip_box.size.w;