summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2022-12-30 07:53:38 -0500
committerTim Flynn <trflynn89@pm.me>2022-12-30 10:14:22 -0500
commit7bb4cd74b806849249ac132f949ff0720ac1f252 (patch)
treee82b773840a6ed24aa9c6657d8311422a9c5d024
parent3a31f37b3d726be1c2ef0936df8e8f9d3d4b8b61 (diff)
downloadserenity-7bb4cd74b806849249ac132f949ff0720ac1f252.zip
LibWeb: Fix a (charming) comment typo
-rw-r--r--Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp
index 70851fde79..e8a9c6134f 100644
--- a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp
+++ b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp
@@ -93,7 +93,7 @@ void CanvasRenderingContext2D::stroke_rect(float x, float y, float width, float
auto& drawing_state = this->drawing_state();
auto rect = drawing_state.transform.map(Gfx::FloatRect(x, y, width, height));
- // We could remove the rounding here, but the lines look better when they have whole number pixel endponts.
+ // We could remove the rounding here, but the lines look better when they have whole number pixel endpoints.
auto top_left = drawing_state.transform.map(Gfx::FloatPoint(x, y)).to_rounded<float>();
auto top_right = drawing_state.transform.map(Gfx::FloatPoint(x + width - 1, y)).to_rounded<float>();
auto bottom_left = drawing_state.transform.map(Gfx::FloatPoint(x, y + height - 1)).to_rounded<float>();