From ae5435089a2c5a19da5b47369f5a45b724803e64 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 26 Oct 2021 17:21:54 +0200 Subject: Remove whitespaces before #ifdef, and #endif --- battstat/power-management.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'battstat') diff --git a/battstat/power-management.c b/battstat/power-management.c index cd0e3f33..ebf8ada6 100644 --- a/battstat/power-management.c +++ b/battstat/power-management.c @@ -392,14 +392,14 @@ power_management_getinfo (BatteryStatus *status) return NULL; } - #ifdef HAVE_UPOWER - if (using_upower) - { - battstat_upower_get_battery_info (status); - return NULL; - } - #endif - +#ifdef HAVE_UPOWER + if (using_upower) + { + battstat_upower_get_battery_info (status); + return NULL; + } +#endif + retval = apm_readinfo (status); if (status->percent == -1) { -- cgit v1.2.1