gallium/hud: fix printing % next to panes
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
cbad30344d
commit
4e2a3e0376
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue