Skip to content

Commit 66502ec

Browse files
committed
Satisfy clang_format.
1 parent 3dd88bf commit 66502ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/search.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ void search_stream(FILE *stream, const char *path) {
361361
print_init_context();
362362

363363
for (i = 1; (line_len = getline(&line, &line_cap, stream)) > 0; i++) {
364-
#if HAS_MSVCLIBX /* Short term workaround for MsvcLibX lack of support for Unicode on stdin */
364+
#if HAS_MSVCLIBX /* Short term workaround for MsvcLibX lack of support for Unicode on stdin */
365365
if (fileno(stream) == 0) { /* If reading from stdin */
366366
struct stat s;
367367
fstat(0, &s);
@@ -378,7 +378,7 @@ void search_stream(FILE *stream, const char *path) {
378378
}
379379
}
380380
if (cp != CP_UTF8) {
381-
if ((line_len * 4) >= line_cap) { /* Prevent buffer overflows */
381+
if ((line_len * 4) >= line_cap) { /* Prevent buffer overflows */
382382
line_cap = (line_len * 4) + 1; /* Worst case size for UTF-8 characters */
383383
line = realloc(line, line_cap);
384384
if (!line) { /* Out of memory */

0 commit comments

Comments
 (0)