From 630430379ef91d61852c4c4db1bf6a8c0edf45d3 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 22 May 2021 07:13:31 +0200 Subject: [PATCH] LibCards: Correct a spelling mistake --- Userland/Libraries/LibCards/Card.cpp | 2 +- Userland/Libraries/LibCards/Card.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibCards/Card.cpp b/Userland/Libraries/LibCards/Card.cpp index ff39c57f2e..218a729733 100644 --- a/Userland/Libraries/LibCards/Card.cpp +++ b/Userland/Libraries/LibCards/Card.cpp @@ -139,7 +139,7 @@ void Card::draw(GUI::Painter& painter) const void Card::clear(GUI::Painter& painter, const Color& background_color) const { - painter.fill_rect({ old_positon(), { width, height } }, background_color); + painter.fill_rect({ old_position(), { width, height } }, background_color); } void Card::save_old_position() diff --git a/Userland/Libraries/LibCards/Card.h b/Userland/Libraries/LibCards/Card.h index 7710e7f21c..4c9c7ef8a6 100644 --- a/Userland/Libraries/LibCards/Card.h +++ b/Userland/Libraries/LibCards/Card.h @@ -39,7 +39,7 @@ public: Gfx::IntRect& rect() { return m_rect; } Gfx::IntPoint position() const { return m_rect.location(); } - const Gfx::IntPoint& old_positon() const { return m_old_position; } + const Gfx::IntPoint& old_position() const { return m_old_position; } uint8_t value() const { return m_value; }; Type type() const { return m_type; }