]> git.lyx.org Git - features.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>
Sun, 15 Apr 2012 21:59:18 +0000 (23:59 +0200)
commitfe47997587e756a881702d22daccb63283d93fb8
treed2ac4bf23ebe87aacb879239aa3130326c912ef6
parent3536bb52db56b1a4590566b30bed0e37554ef2f1
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.

(cherry picked from commit d07f9eec20c8709b648a494586d4b03f75cfef47)
src/CursorSlice.cpp
status.20x