Cygwin: fix formatting: drop spaces leading tabs

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2020-03-11 13:23:55 +01:00
parent 256bc8bde0
commit d2ef2331f9
47 changed files with 137 additions and 137 deletions

View File

@ -42,9 +42,9 @@ PEHeaderFromHModule (HMODULE hModule, bool &is_64bit)
if (pNTHeader->Signature != IMAGE_NT_SIGNATURE)
pNTHeader = NULL;
else if (pNTHeader->FileHeader.Machine == IMAGE_FILE_MACHINE_AMD64)
is_64bit = true;
is_64bit = true;
else if (pNTHeader->FileHeader.Machine == IMAGE_FILE_MACHINE_I386)
is_64bit = false;
is_64bit = false;
else
pNTHeader = NULL;
}
@ -402,7 +402,7 @@ hook_or_detect_cygwin (const char *name, const void *fn, WORD& subsys, HANDLE h)
{
if (!ascii_strcasematch (rva (PSTR, map ?: (char *) hm, pd->Name - delta),
"cygwin1.dll"))
continue;
continue;
if (!fn)
{
/* Just checking if executable used cygwin1.dll. */