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:
Marek Olšák 2015-08-02 18:11:09 +02:00
parent cbad30344d
commit 4e2a3e0376
1 changed files with 1 additions and 1 deletions

View File

@ -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 */