Skip to content

Commit b7b1041

Browse files
committed
style: fix formatting alignment
1 parent 8fbfd68 commit b7b1041

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/lib_ccx/utility.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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. */

0 commit comments

Comments
 (0)