mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-09 10:06:20 -05:00
render: presentation: space between value and "µs"
This commit is contained in:
parent
3912638141
commit
d3fc0fc21e
1 changed files with 3 additions and 3 deletions
6
render.c
6
render.c
|
|
@ -81,13 +81,13 @@ presented(void *data,
|
|||
struct timeval diff;
|
||||
timersub(&commit, &input, &diff);
|
||||
chars += snprintf(&msg[chars], sizeof(msg) - chars,
|
||||
"input - %luµs -> ", diff.tv_usec);
|
||||
"input - %lu µs -> ", diff.tv_usec);
|
||||
}
|
||||
|
||||
struct timeval diff;
|
||||
timersub(&presented, &commit, &diff);
|
||||
chars += snprintf(&msg[chars], sizeof(msg) - chars,
|
||||
"commit - %luµs -> ", diff.tv_usec);
|
||||
"commit - %lu µs -> ", diff.tv_usec);
|
||||
|
||||
if (use_input)
|
||||
timersub(&presented, &input, &diff);
|
||||
|
|
@ -95,7 +95,7 @@ presented(void *data,
|
|||
timersub(&presented, &commit, &diff);
|
||||
|
||||
chars += snprintf(&msg[chars], sizeof(msg) - chars,
|
||||
"presented (total: %luµs)", diff.tv_usec);
|
||||
"presented (total: %lu µs)", diff.tv_usec);
|
||||
|
||||
unsigned frame_count = 0;
|
||||
if (tll_length(term->window->on_outputs) > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue