1 A backport of https://github.com/octo/liboping/pull/61
4 @@ -1125,7 +1125,7 @@ static int update_graph_prettyping (ping_context_t *ctx, /* {{{ */
5 wattron (ctx->window, COLOR_PAIR(color));
8 - mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, symbol);
9 + mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, "%s", symbol);
11 mvwaddch (ctx->window, /* y = */ 3, /* x = */ x + 2, symbolc);
13 @@ -1222,7 +1222,7 @@ static int update_graph_histogram (ping_context_t *ctx) /* {{{ */
15 mvwaddch (ctx->window, /* y = */ 3, /* x = */ x + 2, ' ');
17 - mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2,
18 + mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, "%s",
19 hist_symbols_utf8[index]);
21 mvwaddch (ctx->window, /* y = */ 3, /* x = */ x + 2,