fix sprintf typo
This commit is contained in:
parent
254d646c5b
commit
40732927e5
2
src/ui.c
2
src/ui.c
|
@ -16,7 +16,7 @@ void set_statusbar(int tick_ctr, int shift_state, int alpha_state, int battery)
|
|||
|
||||
// then add actutal text
|
||||
char statusbar[UNS_TERM_COLS + 1];
|
||||
sprintf(statusbar, "%s %s t=%d, bat=%d% cV", shift_symbol, alpha_symbol, tick_ctr, battery);
|
||||
sprintf(statusbar, "%s %s t=%d, bat=%d cV", shift_symbol, alpha_symbol, tick_ctr, battery);
|
||||
tgrid_sets(0, 0, C_BLACK, C_GREEN, statusbar);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue