зеркало из https://github.com/mozilla/pjs.git
White-space fixes I promised to do for Bug 327107 but forgot
This commit is contained in:
Родитель
878d24a67e
Коммит
f3aa4b5d30
|
@ -113,7 +113,7 @@ nsTextEditRules::CheckBidiLevelForDeletion(nsIDOMNode *aSelNode,
|
||||||
if (!frameAfter)
|
if (!frameAfter)
|
||||||
return NS_ERROR_NULL_POINTER;
|
return NS_ERROR_NULL_POINTER;
|
||||||
|
|
||||||
if (frameBefore==frameAfter)
|
if (frameBefore == frameAfter)
|
||||||
{
|
{
|
||||||
// there was no frameAfter, i.e. the caret is at the end of the
|
// there was no frameAfter, i.e. the caret is at the end of the
|
||||||
// document -- use the base paragraph level
|
// document -- use the base paragraph level
|
||||||
|
@ -143,7 +143,7 @@ nsTextEditRules::CheckBidiLevelForDeletion(nsIDOMNode *aSelNode,
|
||||||
; // perform the deletion
|
; // perform the deletion
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (levelBefore==levelAfter)
|
if (levelBefore == levelAfter)
|
||||||
; // perform the deletion
|
; // perform the deletion
|
||||||
else
|
else
|
||||||
*aCancel = PR_TRUE;
|
*aCancel = PR_TRUE;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче