This commit is contained in:
rbs%maths.uq.edu.au 2006-10-02 07:50:36 +00:00
Родитель 4ebedaa676
Коммит cced5cbe39
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1070,7 +1070,7 @@ GetFontExtensionPref(nsIPrefBranch* aPrefBranch, const char* aKey,
alternateKey.AssignASCII(kMathFontPrefix);
PRInt32 ucharOffset = alternateKey.Length();
PRInt32 ucharLength = nsDependentCString(aKey + ucharOffset).FindChar('.');
if (ucharLength <= 1 || ucharLength > 6) // 6 is the length of \uNNNN
if (ucharLength < 1 || ucharLength > 6) // 6 is the length of \uNNNN
return PR_FALSE;
PRUnichar uchar;