]> git.lyx.org Git - lyx.git/commit
Fix bug #8105: Crash when deleting math macro from the inside
authorEnrico Forestieri <forenr@lyx.org>
Thu, 12 Apr 2012 14:25:38 +0000 (16:25 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 12 Apr 2012 14:28:29 +0000 (16:28 +0200)
commitd07f9eec20c8709b648a494586d4b03f75cfef47
tree0d8ed840bfc1aa2dcfb3815143487de2aada07e5
parent53f8c46e8aff20c50604067d3826fce5e8d495f4
Fix bug #8105: Crash when deleting math macro from the inside

It seems that parameterless macros are not wrapped into a MathAtom.
Rather than touching the macro code (which is tantamount to opening
a can of worms, IMHO), I prefer this solution.
src/CursorSlice.cpp