From 66769dee51a7ce7d0417c0a7e30eaac6a4464d55 Mon Sep 17 00:00:00 2001 From: VincentWei Date: Thu, 31 May 2018 23:24:54 +0800 Subject: [PATCH] tune --- include/common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/common.h b/include/common.h index b78ee2de..32a99d25 100644 --- a/include/common.h +++ b/include/common.h @@ -2057,8 +2057,8 @@ static inline void _ERR_PRINTF(const char* fmt, ...) va_start (ap, fmt); TCS_BOLD_RED (stderr); vfprintf (stderr, fmt, ap); - fprintf (stderr, "\n"); TCS_NONE (stderr); + fprintf (stderr, "\n"); va_end (ap); } static inline void _MG_PRINTF(const char* fmt, ...) @@ -2068,8 +2068,8 @@ static inline void _MG_PRINTF(const char* fmt, ...) va_start (ap, fmt); TCS_GREEN (stdout); vfprintf (stdout, fmt, ap); - fprintf (stdout, "\n"); TCS_NONE (stdout); + fprintf (stdout, "\n"); va_end (ap); #endif } @@ -2081,8 +2081,8 @@ static inline void _DBG_PRINTF(const char* fmt, ...) va_start (ap, fmt); TCS_YELLOW (stderr); vfprintf (stderr, fmt, ap); - fprintf (stderr, "\n"); TCS_NONE (stderr); + fprintf (stderr, "\n"); va_end (ap); #endif }