mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Fix the new incarnation of bug 4687
http://bugzilla.lyx.org/show_bug.cgi?id=4687 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25355 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eb70feb21e
commit
419b5a1551
@ -382,7 +382,8 @@ 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)
|
||||
if (!macroInset || macroInset->name_[0] == '^'
|
||||
|| macroInset->name_[0] == '_')
|
||||
continue;
|
||||
|
||||
// get macro
|
||||
|
Loading…
Reference in New Issue
Block a user