Explorar o código

loading thresholds state

Aaron Marcher %!s(int64=8) %!d(string=hai) anos
pai
achega
cceeec0efa
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      slstatus.c

+ 2 - 0
slstatus.c

@@ -140,6 +140,8 @@ battery_state(const char *bat)
 		return smprintf("-");
 	} else if (strcmp(state, "Full") == 0) {
 		return smprintf("=");
+	} else if (strcmp(state, "Unknown") == 0) {
+		return smprintf("/");
 	} else {
 		return smprintf("?");
 	}