No bug - Remove always-true comparison.

This commit is contained in:
Ms2ger 2012-03-24 09:18:09 +01:00
parent 3c6ea2a939
commit 0ef036839c

View File

@ -1188,7 +1188,7 @@ nsIOService::EscapeString(const nsACString& aString,
PRUint32 aEscapeType,
nsACString& aResult)
{
NS_ENSURE_ARG_RANGE(aEscapeType, 0, 4);
NS_ENSURE_ARG_MAX(aEscapeType, 4);
nsCAutoString stringCopy(aString);
nsCString result;