Fix text plotter in monkey

This commit is contained in:
Daniel Silverstone 2019-02-16 10:21:06 +00:00
parent 9952ef000c
commit 2e50e1ea71
1 changed files with 1 additions and 1 deletions

View File

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