From 56f2f72c43b6a9dac773e0e56381eb64da25416c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:13:27 -0500 Subject: [PATCH] spelling: necessary Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/applib/graphics/graphics_circle.c | 4 ++-- src/fw/applib/graphics/graphics_line.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fw/applib/graphics/graphics_circle.c b/src/fw/applib/graphics/graphics_circle.c index ad8e4b29..a67aeacc 100644 --- a/src/fw/applib/graphics/graphics_circle.c +++ b/src/fw/applib/graphics/graphics_circle.c @@ -256,7 +256,7 @@ T_STATIC void graphics_circle_quadrant_draw_1px_aa(GContext* ctx, GPoint p, uint * x - * * | original calculated pixels for plotting - * - mirrored eight of the circle (will mirror more of them if neccessary) + * - mirrored eight of the circle (will mirror more of them if necessary) * o special case pixels * x center of the circle */ @@ -866,7 +866,7 @@ static void prv_fill_oval_precise(GContext *ctx, GPointPrecise center, radius_inner_x.raw_value, radius_inner_y.raw_value, config.end_quadrant.angle); - // Swapping top/bottom offset points if neccesary + // Swapping top/bottom offset points if necessary if (start_top.y.raw_value > start_bottom.y.raw_value) { prv_swap_precise_points(&start_top, &start_bottom); } else if (start_top.y.raw_value == start_bottom.y.raw_value && diff --git a/src/fw/applib/graphics/graphics_line.c b/src/fw/applib/graphics/graphics_line.c index d16dbf7c..7df64921 100644 --- a/src/fw/applib/graphics/graphics_line.c +++ b/src/fw/applib/graphics/graphics_line.c @@ -417,7 +417,7 @@ void prv_draw_stroked_line_precise(GContext* ctx, GPointPrecise p0, GPointPrecis // Finish color hack ctx->draw_state.fill_color = temp_color; - // Return without drawing the line since its not neccessary + // Return without drawing the line since its not necessary return; }