Aaron Marcher
9 years ago
No known key found for this signature in database
GPG Key ID: 74B048E5C2474F9A
1 changed files with
2 additions and
0 deletions
-
slstatus.c
|
|
@ -140,6 +140,8 @@ battery_state(const char *bat) |
|
|
return smprintf("-"); |
|
|
return smprintf("-"); |
|
|
} else if (strcmp(state, "Full") == 0) { |
|
|
} else if (strcmp(state, "Full") == 0) { |
|
|
return smprintf("="); |
|
|
return smprintf("="); |
|
|
|
|
|
} else if (strcmp(state, "Unknown") == 0) { |
|
|
|
|
|
return smprintf("/"); |
|
|
} else { |
|
|
} else { |
|
|
return smprintf("?"); |
|
|
return smprintf("?"); |
|
|
} |
|
|
} |
|
|
|