From 7bb4cd74b806849249ac132f949ff0720ac1f252 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 30 Dec 2022 07:53:38 -0500 Subject: [PATCH] LibWeb: Fix a (charming) comment typo --- Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); auto top_right = drawing_state.transform.map(Gfx::FloatPoint(x + width - 1, y)).to_rounded(); auto bottom_left = drawing_state.transform.map(Gfx::FloatPoint(x, y + height - 1)).to_rounded();