summaryrefslogtreecommitdiff
path: root/client/ui.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-08 15:38:21 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-08 15:38:21 +0200
commite25bf2921965ce642877c760310fced1a7ca7355 (patch)
treedeceaa4bfb5a2ba2985daccfff5a091011b89de0 /client/ui.c
parent867a54109c1bf25617fa46fd4c776db10d56fa8d (diff)
last few touches for assessment
Diffstat (limited to 'client/ui.c')
-rw-r--r--client/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/ui.c b/client/ui.c
index cdf2f3b..6bc0986 100644
--- a/client/ui.c
+++ b/client/ui.c
@@ -87,7 +87,7 @@ void w2_ui_paint_statusbar() {
sprintf(temp, "(%s)", g_w2_state.info.build_str);
w2_wmvaddstr(g_w2_ui_pad_statusbar, 0, g_w2_ui_width / 2 - strlen(temp) / 2, temp);
- sprintf(temp, "%s %i%%", W2_UI_BATT_STAT_BATTERY, g_w2_state.battery_level);
+ sprintf(temp, "%s %imv", W2_UI_BATT_STAT_BATTERY, g_w2_state.info.battery_mv);
w2_wmvaddstr(g_w2_ui_pad_statusbar, 0, g_w2_ui_width - strlen(temp), temp);
sprintf(temp, "[%s]", g_w2_mode_strings[g_w2_state.mode]);