More formatting updates. Reduced whitespace, looks even better.

This commit is contained in:
William Ferrell committed 2000-03-30 20:43:33 +00:00
1 parent a98c8109a8
commit ddfd41f53e
78 files changed
-590

No files matched your search

-10
View File
@@ -13,7 +13,6 @@
int batt_fd = 0;
static int get_batt_stat (int *acstat, int *battstat, int *battflag, int *percent);
static int
@@ -39,8 +38,6 @@ get_batt_stat (int *acstat, int *battstat, int *battflag, int *percent)
}
int
batt_init ()
{
@@ -64,7 +61,6 @@ batt_close ()
return 0;
}
////////////////////////////////////////////////////////////////////////
// Battery Screen shows apm battery status...
//
@@ -82,7 +78,6 @@ battery_screen (int rep, int display)
int acstat = 0, battstat = 0, battflag = 0, percent = 0;
if (first) {
first = 0;
@@ -107,7 +102,6 @@ battery_screen (int rep, int display)
get_batt_stat (&acstat, &battstat, &battflag, &percent);
if (percent >= 0)
sprintf (buffer, "%i%%", percent);
else
@@ -117,7 +111,6 @@ battery_screen (int rep, int display)
if (display)
sock_send_string (sock, tmp);
if (lcd_hgt >= 4) // 4-line version of the screen
{
sprintf (tmp, "widget_set B one 1 2 {");
@@ -139,8 +132,6 @@ battery_screen (int rep, int display)
if (display)
sock_send_string (sock, tmp);
sprintf (tmp, "widget_set B two 1 3 {");
if (battflag == 0xff) {
sprintf (tmp + strlen (tmp), "Battery Stat Unknown");
@@ -161,7 +152,6 @@ battery_screen (int rep, int display)
if (display)
sock_send_string (sock, tmp);
if (percent > 0) {
sprintf (tmp, "widget_set B gauge 2 4 %i\n", (percent * ((lcd_wid - 2) * lcd_cellwid) / 100));
if (display)