mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:37:44 +00:00
LibGfx: Correct Line::to_string() output
This looks like a copy-paste issue from Rect::to_string().
This commit is contained in:
parent
07bceb861a
commit
6a4dde1d99
1 changed files with 2 additions and 2 deletions
|
@ -144,13 +144,13 @@ private:
|
||||||
template<>
|
template<>
|
||||||
inline String IntLine::to_string() const
|
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<>
|
template<>
|
||||||
inline String FloatLine::to_string() const
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue