summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Line.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGfx/Line.h')
-rw-r--r--Userland/Libraries/LibGfx/Line.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGfx/Line.h b/Userland/Libraries/LibGfx/Line.h
index 4cfff5124e..a4b07f23f5 100644
--- a/Userland/Libraries/LibGfx/Line.h
+++ b/Userland/Libraries/LibGfx/Line.h
@@ -144,13 +144,13 @@ private:
template<>
inline String IntLine::to_string() const
{
- return String::formatted("[{},{} -> {}x{}]", m_a.x(), m_a.y(), m_b.x(), m_b.y());
+ return String::formatted("[{},{} -> {},{}]", m_a.x(), m_a.y(), m_b.x(), m_b.y());
}
template<>
inline String FloatLine::to_string() const
{
- return String::formatted("[{},{} {}x{}]", m_a.x(), m_a.y(), m_b.x(), m_b.y());
+ return String::formatted("[{},{} -> {},{}]", m_a.x(), m_a.y(), m_b.x(), m_b.y());
}
}