mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:37:34 +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<>
|
||||
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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue