mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Minor string changes.
This commit is contained in:
parent
e0e12a8bd9
commit
66643e85ac
74 changed files with 895 additions and 889 deletions
|
|
@ -213,8 +213,8 @@ char* NP_GetMIMEDescription()
|
|||
static String mimeDesc;
|
||||
|
||||
mimeDesc = String (T(JuceBrowserPlugin_MimeType))
|
||||
+ T(":") + String (T(JuceBrowserPlugin_FileSuffix))
|
||||
+ T(":") + String (T(JuceBrowserPlugin_Name));
|
||||
+ ":" + String (T(JuceBrowserPlugin_FileSuffix))
|
||||
+ ":" + String (T(JuceBrowserPlugin_Name));
|
||||
|
||||
return (char*) (const char*) mimeDesc.toUTF8();
|
||||
}
|
||||
|
|
@ -934,10 +934,10 @@ private:
|
|||
{
|
||||
const String version (browser.uagent (npp));
|
||||
|
||||
if (! version.containsIgnoreCase (T(" AppleWebKit/")))
|
||||
if (! version.containsIgnoreCase (" AppleWebKit/"))
|
||||
return true;
|
||||
|
||||
int versionNum = version.fromFirstOccurrenceOf (T(" AppleWebKit/"), false, true).getIntValue();
|
||||
int versionNum = version.fromFirstOccurrenceOf (" AppleWebKit/", false, true).getIntValue();
|
||||
|
||||
return versionNum == 0 || versionNum >= 420;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue