From 4e2a3e0376ca4fe39ca05e80557edfaa12e93e2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 2 Aug 2015 18:11:09 +0200 Subject: [PATCH] gallium/hud: fix printing % next to panes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Samuel Pitoiset Reviewed-by: Brian Paul Reviewed-by: Michel Dänzer --- src/gallium/auxiliary/hud/hud_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index d3ad271f515..275070d1664 100644 --- a/src/gallium/auxiliary/hud/hud_context.c +++ b/src/gallium/auxiliary/hud/hud_context.c @@ -332,7 +332,7 @@ hud_pane_accumulate_vertices(struct hud_context *hud, number_to_human_readable(pane->max_value * i / 5, pane->type, str); - hud_draw_string(hud, x, y, str); + hud_draw_string(hud, x, y, "%s", str); } /* draw info below the pane */ -- 2.30.2