Module: Mesa Branch: master Commit: 4e2a3e0376ca4fe39ca05e80557edfaa12e93e2b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e2a3e0376ca4fe39ca05e80557edfaa12e93e2b
Author: Marek Olšák <[email protected]> Date: Sun Aug 2 18:11:09 2015 +0200 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]> --- 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 d3ad271..275070d 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 */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
