Xinqi Bao's Git

Fix indentation
authorAaron Marcher <[email protected]>
Fri, 18 May 2018 13:32:15 +0000 (15:32 +0200)
committerAaron Marcher <[email protected]>
Fri, 18 May 2018 13:32:15 +0000 (15:32 +0200)
Tabs for indentation, spaces for alignment

components/battery.c
config.def.h

index 152777e..53d94b5 100644 (file)
 
                if (load_apm_power_info(&apm_info)) {
                        return bprintf("%u:%02u", apm_info.minutes_left / 60,
 
                if (load_apm_power_info(&apm_info)) {
                        return bprintf("%u:%02u", apm_info.minutes_left / 60,
-                                      apm_info.minutes_left % 60);
+                                      apm_info.minutes_left % 60);
                }
 
                return NULL;
                }
 
                return NULL;
index 82a5df5..495f44f 100644 (file)
@@ -16,8 +16,8 @@ static const char unknown_str[] = "n/a";
  *                                                      NULL on OpenBSD
  * battery_state        battery charging state          battery name (BAT0)
  *                                                      NULL on OpenBSD
  *                                                      NULL on OpenBSD
  * battery_state        battery charging state          battery name (BAT0)
  *                                                      NULL on OpenBSD
- * battery_remaining   battery remaining HH:MM         battery name (BAT0)
- *                                                     NULL on OpenBSD
+ * battery_remaining    battery remaining HH:MM         battery name (BAT0)
+ *                                                      NULL on OpenBSD
  * cpu_perc             cpu usage in percent            NULL
  * cpu_freq             cpu frequency in MHz            NULL
  * datetime             date and time                   format string (%F %T)
  * cpu_perc             cpu usage in percent            NULL
  * cpu_freq             cpu frequency in MHz            NULL
  * datetime             date and time                   format string (%F %T)