chg: adding spaces

This commit is contained in:
iceman1001 2018-04-03 11:58:35 +02:00
parent 3f5aab8f05
commit 6b63f704cc
2 changed files with 5 additions and 6 deletions

View file

@ -21,8 +21,7 @@ bool showDemod = true;
pthread_mutex_t print_lock = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_t print_lock = PTHREAD_MUTEX_INITIALIZER;
static char *logfilename = "proxmark3.log"; static char *logfilename = "proxmark3.log";
void PrintAndLogOptions(char *str[][2], size_t size, size_t space) void PrintAndLogOptions(char *str[][2], size_t size, size_t space) {
{
char buff[2000] = "Options:\n"; char buff[2000] = "Options:\n";
char format[2000] = ""; char format[2000] = "";
size_t counts[2] = {0, 0}; size_t counts[2] = {0, 0};

View file

@ -140,25 +140,25 @@
#if defined(__linux__) || (__APPLE__) #if defined(__linux__) || (__APPLE__)
# define _BLUE_(s) "\x1b[34m" #s "\x1b[0m" # define _BLUE_(s) "\x1b[34m" #s "\x1b[0m"
#else #else
# define _BLUE_(s) #s # define _BLUE_(s) "#s "
#endif #endif
#if defined(__linux__) || (__APPLE__) #if defined(__linux__) || (__APPLE__)
# define _RED_(s) "\x1b[31m" #s "\x1b[0m" # define _RED_(s) "\x1b[31m" #s "\x1b[0m"
#else #else
# define _RED_(s) #s # define _RED_(s) "#s "
#endif #endif
#if defined(__linux__) || (__APPLE__) #if defined(__linux__) || (__APPLE__)
# define _GREEN_(s) "\x1b[32m" #s "\x1b[0m" # define _GREEN_(s) "\x1b[32m" #s "\x1b[0m"
#else #else
# define _GREEN_(s) #s # define _GREEN_(s) "#s "
#endif #endif
#if defined(__linux__) || (__APPLE__) #if defined(__linux__) || (__APPLE__)
# define _YELLOW_(s) "\x1b[33m" #s "\x1b[0m" # define _YELLOW_(s) "\x1b[33m" #s "\x1b[0m"
#else #else
# define _YELLOW_(s) #s # define _YELLOW_(s) "#s "
#endif #endif
#ifndef DropField #ifndef DropField