Change named colors to hex values
[sysstatus.git] / src / status / temp.c
index c102fcd776585c25de77759af53aa8e62fbf3ccf..bcd189a54ad09dc0e2470cca4c5d8727b660bce3 100644 (file)
@@ -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';