зеркало из https://github.com/mozilla/gecko-dev.git
Bug 606717 - Comparison between signed and unsigned integers in nsTextEditRules::CollapseSelectionToTrailingBRIfNeeded; r=ehsan a=bsmedberg
This commit is contained in:
Родитель
83a3dc5087
Коммит
4194994721
|
@ -504,7 +504,8 @@ nsTextEditRules::CollapseSelectionToTrailingBRIfNeeded(nsISelection* aSelection)
|
||||||
NS_ENSURE_SUCCESS(res, res);
|
NS_ENSURE_SUCCESS(res, res);
|
||||||
|
|
||||||
// nothing to do if we're not at the end of the text node
|
// nothing to do if we're not at the end of the text node
|
||||||
if (selOffset != length) return NS_OK;
|
if (selOffset != PRInt32(length))
|
||||||
|
return NS_OK;
|
||||||
|
|
||||||
nsCOMPtr<nsIDOMNode> parentNode;
|
nsCOMPtr<nsIDOMNode> parentNode;
|
||||||
PRInt32 parentOffset;
|
PRInt32 parentOffset;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче