This commit is contained in:
jfrancis%netscape.com 2000-08-29 00:31:53 +00:00
Родитель 20ec8f9da1
Коммит 0481832a07
3 изменённых файлов: 3 добавлений и 3 удалений

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

@ -5376,7 +5376,7 @@ nsDOMSelection::GetPromotedPoint(Endpoint aWhere, nsIDOMNode *aNode, PRInt32 aOf
// if not at end of text node, we are done
PRUint32 len;
GetLengthOfDOMNode(aNode, len);
if (offset < len) return NS_OK;
if (offset < (PRInt32)len) return NS_OK;
// else
res = GetNodeLocation(aNode, &parent, &offset);
if (NS_FAILED(res)) return res;

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

@ -5376,7 +5376,7 @@ nsDOMSelection::GetPromotedPoint(Endpoint aWhere, nsIDOMNode *aNode, PRInt32 aOf
// if not at end of text node, we are done
PRUint32 len;
GetLengthOfDOMNode(aNode, len);
if (offset < len) return NS_OK;
if (offset < (PRInt32)len) return NS_OK;
// else
res = GetNodeLocation(aNode, &parent, &offset);
if (NS_FAILED(res)) return res;

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

@ -5376,7 +5376,7 @@ nsDOMSelection::GetPromotedPoint(Endpoint aWhere, nsIDOMNode *aNode, PRInt32 aOf
// if not at end of text node, we are done
PRUint32 len;
GetLengthOfDOMNode(aNode, len);
if (offset < len) return NS_OK;
if (offset < (PRInt32)len) return NS_OK;
// else
res = GetNodeLocation(aNode, &parent, &offset);
if (NS_FAILED(res)) return res;