From 2e50e1ea71232998d610449bb3a1fe8902580f43 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 16 Feb 2019 10:21:06 +0000 Subject: Fix text plotter in monkey --- frontends/monkey/plot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/monkey/plot.c b/frontends/monkey/plot.c index 7a84c4a54..a8f0d61b6 100644 --- a/frontends/monkey/plot.c +++ b/frontends/monkey/plot.c @@ -245,7 +245,7 @@ monkey_plot_text(const struct redraw_context *ctx, const char *text, size_t length) { - moutf(MOUT_PLOT, "TEXT X %d Y %d STR %*s\n", x, y, (int)length, text); + moutf(MOUT_PLOT, "TEXT X %d Y %d STR %.*s", x, y, (int)length, text); return NSERROR_OK; } -- cgit v1.2.3