1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix for utf-32 builds.

This commit is contained in:
jules 2013-10-25 13:10:27 +01:00
parent eb7e42b0ad
commit 98ef0eb4a5

View file

@ -858,7 +858,7 @@ struct JavascriptEngine::RootObject : public DynamicObject
bool matchToken (TokenType name, const size_t len) noexcept
{
if (p.compareUpTo (String::CharPointerType (name), (int) len) != 0) return false;
if (p.compareUpTo (CharPointer_ASCII (name), (int) len) != 0) return false;
p += (int) len; return true;
}