mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Reduce code duplication.
This commit is contained in:
parent
ada52e014e
commit
1680eaf5f0
@ -630,7 +630,7 @@ bool testSymbol(MathAtom const & at, docstring const & name)
|
||||
|
||||
bool testSymbol(MathAtom const & at, char const * const name)
|
||||
{
|
||||
return at->asSymbolInset() && at->asSymbolInset()->name() == from_ascii(name);
|
||||
return testSymbol(at, from_ascii(name));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user