Battery: minor code style change
o9000 mrovi9000@gmail.com
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/battery/linux.c
→
src/battery/linux.c
@@ -348,7 +348,7 @@ if (g_error_matches(error, G_FILE_ERROR, G_FILE_ERROR_NODEV)) {
/* some hardware does not support reading current power consumption */ g_error_free(error); bat->power_now = estimate_power_usage(bat, old_energy_now, old_timestamp); - } else if(error) { + } else if (error) { g_error_free(error); return FALSE; } else {