mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Minor string changes.
This commit is contained in:
parent
e0e12a8bd9
commit
66643e85ac
74 changed files with 895 additions and 889 deletions
|
|
@ -399,11 +399,11 @@ void juce_findFileClose (void* handle)
|
|||
bool juce_launchFile (const String& fileName,
|
||||
const String& parameters)
|
||||
{
|
||||
String cmdString (fileName.replace (T(" "), T("\\ "),false));
|
||||
String cmdString (fileName.replace (" ", "\\ ",false));
|
||||
cmdString << " " << parameters;
|
||||
|
||||
if (URL::isProbablyAWebsiteURL (fileName)
|
||||
|| cmdString.startsWithIgnoreCase (T("file:"))
|
||||
|| cmdString.startsWithIgnoreCase ("file:")
|
||||
|| URL::isProbablyAnEmailAddress (fileName))
|
||||
{
|
||||
// create a command that tries to launch a bunch of likely browsers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue