]> git.lyx.org Git - features.git/commit
Fix bug #6869: Crash when unindenting empty lines in listings inset.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 18 Oct 2010 10:48:29 +0000 (10:48 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 18 Oct 2010 10:48:29 +0000 (10:48 +0000)
commitf35d1a2a4c7fcc4ab589c3fd2cf60424659bd74e
tree93a50eb8d864d84a42ef45d5b762342e152e79ba
parent131edd61dcfad141ead392932f337fadb099e8ee
Fix bug #6869: Crash when unindenting empty lines in listings inset.

- Remove some duplicated code;
- Do not call par.getChar(0) when the par is empty.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35702 a592a061-630c-0410-9148-cb99ea01b6c8
src/Text3.cpp