all repos — tint2 @ 005e5a49c03c0e05bebcbf84bb351bc62dd407a6

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Battery: minor code style change
o9000 mrovi9000@gmail.com
commit

005e5a49c03c0e05bebcbf84bb351bc62dd407a6

parent

85b3b8a749713d37d24898e436766df4d5f56d35

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/battery/linux.csrc/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 {