summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thermal/src/thermal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thermal/src/thermal.c b/thermal/src/thermal.c
index 8261d78..e976e8b 100644
--- a/thermal/src/thermal.c
+++ b/thermal/src/thermal.c
@@ -62,11 +62,11 @@ _thermal_apply(Instance *inst, int temp)
62 char buf[4096]; 62 char buf[4096];
63 63
64 if (inst->cfg->thermal.units == FAHRENHEIT) 64 if (inst->cfg->thermal.units == FAHRENHEIT)
65 snprintf(buf, sizeof(buf), "%d F (%d %%)", 65 snprintf(buf, sizeof(buf), "%d F (%d %%%%)",
66 (int)((inst->cfg->thermal.temp * 9.0 / 5.0) + 32), 66 (int)((inst->cfg->thermal.temp * 9.0 / 5.0) + 32),
67 inst->cfg->thermal.percent); 67 inst->cfg->thermal.percent);
68 else 68 else
69 snprintf(buf, sizeof(buf), "%d C (%d %%)", 69 snprintf(buf, sizeof(buf), "%d C (%d %%%%)",
70 (int)inst->cfg->thermal.temp, 70 (int)inst->cfg->thermal.temp,
71 inst->cfg->thermal.percent); 71 inst->cfg->thermal.percent);
72 elm_progressbar_value_set(inst->cfg->thermal.popup_pbar, 72 elm_progressbar_value_set(inst->cfg->thermal.popup_pbar,