mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 17:00:09 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue