Bug 620423 - nsHTMLEditor::ParseCFHTML foolishly checks aStuffToPaste instead of *aStuffToPaste; r=neil a=roc

This commit is contained in:
timeless@mozdev.org 2011-01-11 10:20:31 -05:00
Родитель ef16112f6e
Коммит 6b5d000cdb
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1264,7 +1264,7 @@ nsHTMLEditor::ParseCFHTML(nsCString & aCfhtml, PRUnichar **aStuffToPaste, PRUnic
nsLinebreakConverter::eLinebreakAny,
nsLinebreakConverter::eLinebreakContent,
oldLengthInChars, &newLengthInChars);
if (!aStuffToPaste)
if (!*aStuffToPaste)
{
return NS_ERROR_FAILURE;
}