projects
/
sysstatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change named colors to hex values
[sysstatus.git]
/
src
/
status
/
fan.c
diff --git
a/src/status/fan.c
b/src/status/fan.c
index 6b266784934ced88169db3ae2769d2480dc95c17..097781476c691d096d38a7b4bb248818b6e990d1 100644
(file)
--- a/
src/status/fan.c
+++ b/
src/status/fan.c
@@
-25,7
+25,7
@@
void status_fan(GlobalData *g, char *title, char *sysfile)
// Read a valid value? Sometimes we get garbage from sysfs...
if (stlen > 5) {
- s.color = "
red";
+ s.color = "
#FF0000"; // red
snprintf(text, sizeof(text), "%sERROR", title);
} else {
stline[stlen - 1] = '\0';