Indentation was missing after empty string check was added by wanjochan.

This commit is contained in:
Christian Jullien 2020-09-18 06:39:30 +02:00
parent bea7dcde86
commit 6d819d7267
2 changed files with 4 additions and 4 deletions

View file

@ -1457,8 +1457,8 @@ ST_FUNC void tcc_add_runtime(TCCState *s1)
tcc_add_btstub(s1); tcc_add_btstub(s1);
} }
#endif #endif
if ( strlen ( TCC_LIBTCC1 ) > 0 ) if (strlen(TCC_LIBTCC1) > 0)
tcc_add_support(s1, TCC_LIBTCC1); tcc_add_support(s1, TCC_LIBTCC1);
#ifndef TCC_TARGET_MACHO #ifndef TCC_TARGET_MACHO
/* add crt end if not memory output */ /* add crt end if not memory output */
if (s1->output_type != TCC_OUTPUT_MEMORY) if (s1->output_type != TCC_OUTPUT_MEMORY)

View file

@ -1923,8 +1923,8 @@ static void pe_add_runtime(TCCState *s1, struct pe_info *pe)
"msvcrt", "kernel32", "", "user32", "gdi32", NULL "msvcrt", "kernel32", "", "user32", "gdi32", NULL
}; };
const char **pp, *p; const char **pp, *p;
if ( strlen ( TCC_LIBTCC1 ) > 0 ) if (strlen(TCC_LIBTCC1) > 0)
tcc_add_support(s1, TCC_LIBTCC1); tcc_add_support(s1, TCC_LIBTCC1);
for (pp = libs; 0 != (p = *pp); ++pp) { for (pp = libs; 0 != (p = *pp); ++pp) {
if (*p) if (*p)
tcc_add_library_err(s1, p); tcc_add_library_err(s1, p);