summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-05-29 11:57:55 +0100
committerAndreas Kling <kling@serenityos.org>2022-05-29 15:22:00 +0200
commitde90faa4c447904b3ce8bbfe324872a9d896b5f5 (patch)
treed94aa44f1fcb7de0acbfbd36b49cc36e713d5373
parent173dcfb7cb13fac29d06bfef0130a0469cd4ee27 (diff)
downloadserenity-de90faa4c447904b3ce8bbfe324872a9d896b5f5.zip
LibGfx: Change one instance of 'colour' to 'color'
The system's official language is American English.
-rw-r--r--Userland/Libraries/LibGfx/AntiAliasingPainter.cpp6
1 files 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) {