mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
Minor string changes.
This commit is contained in:
parent
e0e12a8bd9
commit
66643e85ac
74 changed files with 895 additions and 889 deletions
|
|
@ -133,7 +133,7 @@ void* juce_openInternetFile (const String& url,
|
|||
|
||||
InternetSetOption (sessionHandle, INTERNET_OPTION_CONNECT_TIMEOUT, &timeOutMs, sizeof (timeOutMs));
|
||||
|
||||
const bool isFtp = url.startsWithIgnoreCase (T("ftp:"));
|
||||
const bool isFtp = url.startsWithIgnoreCase ("ftp:");
|
||||
|
||||
#if WORKAROUND_TIMEOUT_BUG
|
||||
HINTERNET connection = 0;
|
||||
|
|
@ -179,7 +179,7 @@ void* juce_openInternetFile (const String& url,
|
|||
|
||||
DWORD flags = INTERNET_FLAG_RELOAD | INTERNET_FLAG_NO_CACHE_WRITE;
|
||||
|
||||
if (url.startsWithIgnoreCase (T("https:")))
|
||||
if (url.startsWithIgnoreCase ("https:"))
|
||||
flags |= INTERNET_FLAG_SECURE; // (this flag only seems necessary if the OS is running IE6 -
|
||||
// IE7 seems to automatically work out when it's https)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue