mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Clarify calculation precedence for '&' and '?'
Spotted by cppcheck
This commit is contained in:
parent
decd2c74f1
commit
8d080364d2
@ -2166,7 +2166,7 @@ bool mathed_parse_cell(MathData & ar, docstring const & str, Parse::flags f)
|
||||
|
||||
bool mathed_parse_cell(MathData & ar, istream & is, Parse::flags f)
|
||||
{
|
||||
return Parser(is, f, ar.buffer()).parse(ar, 0, f & Parse::TEXTMODE ?
|
||||
return Parser(is, f, ar.buffer()).parse(ar, 0, (f & Parse::TEXTMODE) ?
|
||||
InsetMath::TEXT_MODE : InsetMath::MATH_MODE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user