Fixed indentation

This commit is contained in:
Nate Morrison 2022-03-22 02:09:16 -07:00
parent 0a3707cb5b
commit 5d92a249a6
12 changed files with 19 additions and 24 deletions

View File

@ -1443,7 +1443,6 @@ static void cleanup_linux (int x)
ptt_term ();
dwgps_term ();
SLEEP_SEC(1);
dw_printf ("\e[0m\e\n\e[0J\e");
exit(0);
}
@ -1522,10 +1521,10 @@ static void usage (char **argv)
#if __WIN32__
dw_printf ("Complete documentation can be found in the 'doc' folder\n");
/* I don't know if win32 supports ANSI colour sequences. */
dw_printf ("\e[0m\e\n\e[0J\e");
#else
// TODO: Could vary by platform and build options.
dw_printf ("Complete documentation can be found in /usr/local/share/doc/direwolf\n");
//dw_printf ("\e[0m\e\n\e[0J\e"); /* This appears to break the last bit of colour, so it is commented out. */
#endif
dw_printf ("or online at https://github.com/wb2osz/direwolf/tree/master/doc\n");
dw_printf ("\e[0m\e\n\e[0J\e");

View File

@ -9,7 +9,6 @@
#endif
#ifndef DIREWOLF_H
#define DIREWOLF_H 1
@ -317,4 +316,5 @@ size_t strlcat_debug(char *__restrict__ dst, const char *__restrict__ src, size_
#endif /* BSD or Apple */
#endif /* ifndef DIREWOLF_H */

View File

@ -483,5 +483,5 @@ static int my_unstuff (int chan, int subchan, int slice, unsigned char * restric
} // my_unstuff
// end fx25_rec.c
// end fx25_rec.c

View File

@ -335,4 +335,3 @@ static int stuff_it (unsigned char *in, int ilen, unsigned char *out, int osize)
} // end stuff_it
// end fx25_send.c

View File

@ -1048,4 +1048,3 @@ int main (int argc, char *argv[])
/* end latlong.c */

View File

@ -116,4 +116,3 @@ static void usage (void)
dw_printf ("\e[0m\e\n\e[0J\e");
exit (1);
}

View File

@ -145,4 +145,3 @@ static void usage (void)
dw_printf ("\e[0m\e\n\e[0J\e");
exit (1);
}