mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fixup f96b99dc
: thinko
Setting the res value and returning from the function at the same time does not make sense. After reflection, it is the "return" that shall go. No idea what effect it had.
This commit is contained in:
parent
8b155ce957
commit
a97b384b07
@ -972,7 +972,7 @@ MathClass MathData::lastMathClass() const
|
||||
for (MathAtom const & at : *this) {
|
||||
MathClass mc = at->mathClass();
|
||||
if (mc != MC_UNKNOWN)
|
||||
return res = mc;
|
||||
res = mc;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user