spelling: necessary

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 15:13:27 -05:00
parent 808be075ae
commit 56f2f72c43
2 changed files with 3 additions and 3 deletions

View File

@ -256,7 +256,7 @@ T_STATIC void graphics_circle_quadrant_draw_1px_aa(GContext* ctx, GPoint p, uint
* x - * x -
* *
* | original calculated pixels for plotting * | 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 * o special case pixels
* x center of the circle * 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, radius_inner_x.raw_value, radius_inner_y.raw_value,
config.end_quadrant.angle); 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) { if (start_top.y.raw_value > start_bottom.y.raw_value) {
prv_swap_precise_points(&start_top, &start_bottom); prv_swap_precise_points(&start_top, &start_bottom);
} else if (start_top.y.raw_value == start_bottom.y.raw_value && } else if (start_top.y.raw_value == start_bottom.y.raw_value &&

View File

@ -417,7 +417,7 @@ void prv_draw_stroked_line_precise(GContext* ctx, GPointPrecise p0, GPointPrecis
// Finish color hack // Finish color hack
ctx->draw_state.fill_color = temp_color; 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; return;
} }