This commit is contained in:
brade%netscape.com 1999-09-21 22:32:39 +00:00
Родитель 5dc0db68e3
Коммит c7afb94dcc
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -782,7 +782,7 @@ nsTextEditRules:: DidUndo(nsIDOMSelection *aSelection, nsresult aResult)
if (NS_FAILED(res)) return res;
if (nodeList)
{
PRUint32 len, j;
PRUint32 len;
nodeList->GetLength(&len);
if (len != 1) return NS_OK; // only in the case of one div could there be the bogus node
@ -840,7 +840,7 @@ nsTextEditRules::DidRedo(nsIDOMSelection *aSelection, nsresult aResult)
if (NS_FAILED(res)) return res;
if (nodeList)
{
PRUint32 len, j;
PRUint32 len;
nodeList->GetLength(&len);
if (len != 1) return NS_OK; // only in the case of one div could there be the bogus node

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

@ -782,7 +782,7 @@ nsTextEditRules:: DidUndo(nsIDOMSelection *aSelection, nsresult aResult)
if (NS_FAILED(res)) return res;
if (nodeList)
{
PRUint32 len, j;
PRUint32 len;
nodeList->GetLength(&len);
if (len != 1) return NS_OK; // only in the case of one div could there be the bogus node
@ -840,7 +840,7 @@ nsTextEditRules::DidRedo(nsIDOMSelection *aSelection, nsresult aResult)
if (NS_FAILED(res)) return res;
if (nodeList)
{
PRUint32 len, j;
PRUint32 len;
nodeList->GetLength(&len);
if (len != 1) return NS_OK; // only in the case of one div could there be the bogus node