mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03: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
Notes:
sideshowbarker
2024-07-17 07:20:49 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/6a4dde1d99 Pull-request: https://github.com/SerenityOS/serenity/pull/15819
@ -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…
Reference in New Issue
Block a user