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; }