wininet: Use boolean return value in boolean function.
This commit is contained in:
parent
1776ded8e6
commit
c8426495fc
|
@ -1765,7 +1765,7 @@ BOOL WINAPI InternetCrackUrlW(LPCWSTR lpszUrl_orig, DWORD dwUrlLength_orig, DWOR
|
|||
|
||||
if(!found_colon){
|
||||
SetLastError(ERROR_INTERNET_UNRECOGNIZED_SCHEME);
|
||||
return 0;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
lpUC->nScheme = INTERNET_SCHEME_UNKNOWN;
|
||||
|
|
Loading…
Reference in New Issue