mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Fix crasher bug 158796, r=jkeiser, sr=jst, a=asa
This commit is contained in:
parent
b3e3692694
commit
2a0acff134
@ -255,7 +255,7 @@ nsresult ArabicShaping(const PRUnichar* aString, PRUint32 aLen,
|
||||
PRUnichar* aBuf, PRUint32 *aBufLen,
|
||||
PRBool aInputLogical, PRBool aOutputLogical)
|
||||
{
|
||||
nsAutoString tempString(aString);
|
||||
nsAutoString tempString(aString, aLen);
|
||||
PRUnichar *tempBuf = NS_CONST_CAST(PRUnichar*, tempString.get());
|
||||
if (aInputLogical) {
|
||||
ReverseString(tempBuf, aLen);
|
||||
|
Loading…
Reference in New Issue
Block a user