1
0
Fork 0
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:
Julian Storer 2010-03-26 18:23:54 +00:00
parent e0e12a8bd9
commit 66643e85ac
74 changed files with 895 additions and 889 deletions

View file

@ -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;
}