From cb34e554fe364c6f04c0bdebac4ef04e15c3cec5 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 3 May 2019 09:41:28 +0200 Subject: [PATCH] chg: info log = yellow --- client/ui.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/client/ui.c b/client/ui.c index 1dc5a1dca..8049f128f 100644 --- a/client/ui.c +++ b/client/ui.c @@ -30,16 +30,6 @@ pthread_mutex_t print_lock = PTHREAD_MUTEX_INITIALIZER; static const char *logfilename = "proxmark3.log"; static void fPrintAndLog(FILE *stream, const char *fmt, ...); -/* -static float complex cexpf(float complex Z) { - float complex Res; - double rho = exp(__real__ Z); - __real__ Res = rho * cosf(__imag__ Z); - __imag__ Res = rho * sinf(__imag__ Z); - return Res; -} -*/ - void PrintAndLogOptions(const char *str[][2], size_t size, size_t space) { char buff[2000] = "Options:\n"; char format[2000] = ""; @@ -94,8 +84,10 @@ void PrintAndLogEx(logLevel_t level, const char *fmt, ...) { case WARNING: strncpy(prefix, _CYAN_("[!]"), sizeof(prefix) - 1); break; + case INFO: + strncpy(prefix, _YELLOW_("[=]"), sizeof(prefix) - 1); + break; case NORMAL: - case INFO: strncpy(prefix, prefixes[level], sizeof(prefix) - 1); break; }