зеркало из https://github.com/mozilla/gecko-dev.git
missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
This commit is contained in:
Родитель
6a66ff51fc
Коммит
e5cc293e99
|
@ -601,7 +601,7 @@ nsFrame::DisplaySelection(nsIPresContext& aPresContext, PRBool isOkToTurnOn)
|
|||
mParent->GetStyleData(eStyleStruct_UserInterface, (const nsStyleStruct*&)userinterface);
|
||||
}
|
||||
}
|
||||
if (userinterface->mUserSelect == NS_STYLE_USER_SELECT_NONE) {
|
||||
if (userinterface->mUserSelect != NS_STYLE_USER_SELECT_NONE) {
|
||||
result = PR_FALSE;
|
||||
isOkToTurnOn = PR_FALSE;
|
||||
}
|
||||
|
|
|
@ -601,7 +601,7 @@ nsFrame::DisplaySelection(nsIPresContext& aPresContext, PRBool isOkToTurnOn)
|
|||
mParent->GetStyleData(eStyleStruct_UserInterface, (const nsStyleStruct*&)userinterface);
|
||||
}
|
||||
}
|
||||
if (userinterface->mUserSelect == NS_STYLE_USER_SELECT_NONE) {
|
||||
if (userinterface->mUserSelect != NS_STYLE_USER_SELECT_NONE) {
|
||||
result = PR_FALSE;
|
||||
isOkToTurnOn = PR_FALSE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче