File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -179,22 +179,22 @@ void mprint(const char *fmt, ...)
179179 if (!ccx_options .messages_target )
180180 return ;
181181 va_start (args , fmt );
182-
182+
183183 FILE * target = (ccx_options .messages_target == CCX_MESSAGES_STDOUT ) ? stdout : stderr ;
184-
184+
185185 if (fmt [0 ] == '\r' )
186186 {
187- #ifndef _WIN32
188- fprintf (target , "\r\033[K" ); // Clear the line first
189- fmt ++ ; // Skip the '\r' so only the clean text gets printed next
187+ #ifndef _WIN32
188+ fprintf (target , "\r\033[K" ); // Clear the line first
189+ fmt ++ ; // Skip the '\r' so only the clean text gets printed next
190190#endif
191191 }
192192 // Windows (legacy console) does not support ANSI sequences; fallback to standard \r; and vfprintf below handles it the old-fashioned way.
193-
193+
194194 vfprintf (target , fmt , args );
195195 fflush (target );
196196
197- va_end (args );
197+ va_end (args );
198198}
199199
200200/* Shorten some debug output code. */
You can’t perform that action at this time.
0 commit comments