Fix a superfluous condition
(a != 0 || a != 1) makes no sense. Author probably meant AND, not OR. Change-Id: If91954e9e48e5804c54380db8c99184ef0fcc1d2
This commit is contained in:
parent
92cdab8bf8
commit
a283942b00
1 changed files with 1 additions and 1 deletions
|
@ -1192,7 +1192,7 @@ private:
|
|||
}
|
||||
// 0 for preventing selection of the first always
|
||||
// 1 for preventing the new users from directly beoming the editors
|
||||
if (_editorId != fastestUser && (maxSpeed != 0 || maxSpeed != 1)) {
|
||||
if (_editorId != fastestUser && (maxSpeed != 0 && maxSpeed != 1)) {
|
||||
if (!_editorChangeWarning && _editorId != -1)
|
||||
{
|
||||
_editorChangeWarning = true;
|
||||
|
|
Loading…
Reference in a new issue