mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fix mistake in 1414b30
This commit is contained in:
parent
1414b3022e
commit
5aabd3fe1a
@ -1541,7 +1541,10 @@ BYTE* DownloadUrl(HINTERNET handle, std::wstring& url, DWORD* dataSize, bool for
|
|||||||
hUrlDump = InternetOpenUrlA(handle, urlACP.c_str(), nullptr, 0, flags, 0);
|
hUrlDump = InternetOpenUrlA(handle, urlACP.c_str(), nullptr, 0, flags, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
return nullptr;
|
if (!hUrlDump)
|
||||||
|
{
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allocate buffer with 3 extra bytes for triple null termination in case the string is
|
// Allocate buffer with 3 extra bytes for triple null termination in case the string is
|
||||||
|
Loading…
Reference in New Issue
Block a user