From 6b63f704cc1713613f1a8fabbe5efbbbe701fcde Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 3 Apr 2018 11:58:35 +0200 Subject: [PATCH] chg: adding spaces --- client/ui.c | 3 +-- client/util.h | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/client/ui.c b/client/ui.c index 6c99c0cba..473664402 100644 --- a/client/ui.c +++ b/client/ui.c @@ -21,8 +21,7 @@ bool showDemod = true; pthread_mutex_t print_lock = PTHREAD_MUTEX_INITIALIZER; 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 format[2000] = ""; size_t counts[2] = {0, 0}; diff --git a/client/util.h b/client/util.h index 0fe610581..c6e9a187d 100644 --- a/client/util.h +++ b/client/util.h @@ -140,25 +140,25 @@ #if defined(__linux__) || (__APPLE__) # define _BLUE_(s) "\x1b[34m" #s "\x1b[0m" #else -# define _BLUE_(s) #s +# define _BLUE_(s) "#s " #endif #if defined(__linux__) || (__APPLE__) # define _RED_(s) "\x1b[31m" #s "\x1b[0m" #else -# define _RED_(s) #s +# define _RED_(s) "#s " #endif #if defined(__linux__) || (__APPLE__) # define _GREEN_(s) "\x1b[32m" #s "\x1b[0m" #else -# define _GREEN_(s) #s +# define _GREEN_(s) "#s " #endif #if defined(__linux__) || (__APPLE__) # define _YELLOW_(s) "\x1b[33m" #s "\x1b[0m" #else -# define _YELLOW_(s) #s +# define _YELLOW_(s) "#s " #endif #ifndef DropField