summaryrefslogtreecommitdiff
path: root/battstat
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-26 17:21:54 +0200
committerraveit65 <[email protected]>2021-11-21 17:18:34 +0100
commitae5435089a2c5a19da5b47369f5a45b724803e64 (patch)
treec2accd37ccc3448e4308d2cd7fb17228f640d40c /battstat
parent8281e9833a31d8731e8dd405fea2b1138dcc4ff8 (diff)
downloadmate-applets-ae5435089a2c5a19da5b47369f5a45b724803e64.tar.bz2
mate-applets-ae5435089a2c5a19da5b47369f5a45b724803e64.tar.xz
Remove whitespaces before #ifdef, and #endif
Diffstat (limited to 'battstat')
-rw-r--r--battstat/power-management.c16
1 files changed, 8 insertions, 8 deletions
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) {