Changes: Stylistic and fix one API call.

This commit is contained in:
Alastair Poole 2019-09-07 11:36:46 +01:00
parent 12ae98cab7
commit 6968d4274e
3 changed files with 9 additions and 7 deletions

1
NEWS
View File

@ -10,6 +10,7 @@ Evisum 0.2.6
* Fix some memory leaks. * Fix some memory leaks.
* Battery names (where applicable). * Battery names (where applicable).
* Various small tidying. * Various small tidying.
* Use Eina helpers where applicable.
============ ============
Evisum 0.2.4 Evisum 0.2.4

View File

@ -1155,6 +1155,7 @@ system_temperature_cpu_get(void)
void void
system_power_state_get(power_t *power) system_power_state_get(power_t *power)
{ {
if (_power_battery_count_get(power))
_power_state_get(power); _power_state_get(power);
} }