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
/
temp.c
diff --git
a/src/status/temp.c
b/src/status/temp.c
index c102fcd776585c25de77759af53aa8e62fbf3ccf..bcd189a54ad09dc0e2470cca4c5d8727b660bce3 100644
(file)
--- a/
src/status/temp.c
+++ b/
src/status/temp.c
@@
-28,7
+28,7
@@
void status_temp(GlobalData *g, char *title, char *sysfile)
* Sometimes we get garbage from sysfs...
*/
if (stlen < 6 || stlen > 7) {
- s.color = "
red";
+ s.color = "
#FF0000"; // red
snprintf(text, sizeof(text), "%sERROR", title);
} else {
stline[stlen - 4] = '\0';