From c7877a2a26238221c3feb766c1b0c700debf3285 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 2 Sep 2024 11:25:30 +0200 Subject: [PATCH] test/run_hscroll: use libfmt --- test/run_hscroll.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/run_hscroll.cxx b/test/run_hscroll.cxx index 8192c3ed..b94b3919 100644 --- a/test/run_hscroll.cxx +++ b/test/run_hscroll.cxx @@ -1,6 +1,8 @@ #include "BasicMarquee.hxx" #include "config.h" +#include + #include #ifdef ENABLE_LOCALE @@ -30,7 +32,7 @@ int main(int argc, char **argv) for (unsigned i = 0; i < count; ++i) { const auto s = hscroll.ScrollString(); - fprintf(stderr, "%.*s\n", int(s.size()), s.data()); + fmt::print("{}\n", s); hscroll.Step(); }