summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Path.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-07 20:45:51 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-07 21:12:09 +0200
commiteb05931ab504cafee47952e2d4c7c3f2df08b784 (patch)
tree52dfa3b9bd281225fab87b07cbd59d988d827305 /Userland/Libraries/LibGfx/Path.cpp
parentf0687dbbb75f1e0e63c3064c6cca8c501c99bb9f (diff)
downloadserenity-eb05931ab504cafee47952e2d4c7c3f2df08b784.zip
LibGfx: Convert StringBuilder::appendf() => AK::Format
Diffstat (limited to 'Userland/Libraries/LibGfx/Path.cpp')
-rw-r--r--Userland/Libraries/LibGfx/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/Path.cpp b/Userland/Libraries/LibGfx/Path.cpp
index 4f6fb916f4..9824065e99 100644
--- a/Userland/Libraries/LibGfx/Path.cpp
+++ b/Userland/Libraries/LibGfx/Path.cpp
@@ -197,7 +197,7 @@ String Path::to_string() const
builder.append("Invalid");
break;
}
- builder.appendf("(%s", segment.point().to_string().characters());
+ builder.appendff("({}", segment.point());
switch (segment.type()) {
case Segment::Type::QuadraticBezierCurveTo: