summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud/hud_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-08-02 18:11:09 +0200
committerMarek Olšák <[email protected]>2015-08-06 20:44:36 +0200
commit4e2a3e0376ca4fe39ca05e80557edfaa12e93e2b (patch)
tree0b16cb9837df3fcb1b45a02c8e3bd4513576d0cb /src/gallium/auxiliary/hud/hud_context.c
parentcbad30344d6e0b1ccc9fc8d5a8e6560e97dd9188 (diff)
gallium/hud: fix printing % next to panes
Reviewed-by: Samuel Pitoiset <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_context.c')
-rw-r--r--src/gallium/auxiliary/hud/hud_context.c2
1 files changed, 1 insertions, 1 deletions
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 */