mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
Please Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33292 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e916213ac0
commit
8f09cda025
@ -398,7 +398,7 @@ void MathData::updateMacros(Cursor * cur, MacroContext const & mc)
|
||||
// go over the array and look for macros
|
||||
for (size_t i = 0; i < size(); ++i) {
|
||||
MathMacro * macroInset = operator[](i).nucleus()->asMacro();
|
||||
if (!macroInset || macroInset->name_.size() == 0
|
||||
if (!macroInset || macroInset->name_.empty()
|
||||
|| macroInset->name_[0] == '^'
|
||||
|| macroInset->name_[0] == '_'
|
||||
|| macroInset->name() == edited_name)
|
||||
|
Loading…
Reference in New Issue
Block a user