summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-02-16 10:21:06 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-02-16 10:21:06 +0000
commit2e50e1ea71232998d610449bb3a1fe8902580f43 (patch)
treeee0e82324f7e4f01cf2142baf470dbd6b09fc11a
parent9952ef000c95013b8a9f50289f9e33d4477b8cb6 (diff)
downloadnetsurf-2e50e1ea71232998d610449bb3a1fe8902580f43.tar.gz
netsurf-2e50e1ea71232998d610449bb3a1fe8902580f43.tar.bz2
Fix text plotter in monkey
-rw-r--r--frontends/monkey/plot.c2
1 files changed, 1 insertions, 1 deletions
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;
}