From de90faa4c447904b3ce8bbfe324872a9d896b5f5 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 29 May 2022 11:57:55 +0100 Subject: [PATCH] LibGfx: Change one instance of 'colour' to 'color' The system's official language is American English. --- Userland/Libraries/LibGfx/AntiAliasingPainter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp b/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp index ae54e3b581..31cc72fa56 100644 --- a/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp +++ b/Userland/Libraries/LibGfx/AntiAliasingPainter.cpp @@ -322,9 +322,9 @@ Gfx::AntiAliasingPainter::Range Gfx::AntiAliasingPainter::draw_ellipse_part( return; min_paint_x = min(x, min_paint_x); max_paint_x = max(x, max_paint_x); - auto pixel_colour = color; - pixel_colour.set_alpha((alpha * color.alpha()) / 255); - m_underlying_painter.set_pixel(center + IntPoint { x, y }, pixel_colour, true); + auto pixel_color = color; + pixel_color.set_alpha((alpha * color.alpha()) / 255); + m_underlying_painter.set_pixel(center + IntPoint { x, y }, pixel_color, true); }; auto fill = [&](int x, int ymax, int ymin, int alpha) {