On Sat, Aug 01, 2009 at 11:54:13PM +0200, v...@lyx.org wrote: > Author: vfr > Date: Sat Aug 1 23:54:13 2009 > New Revision: 30821 > URL: http://www.lyx.org/trac/changeset/30821 > > Log: > Add a pending space after math if it is not the last of the selection. This > fixes problems like in bug #6094. > > Modified: > lyx-devel/trunk/src/Paragraph.cpp > > Modified: lyx-devel/trunk/src/Paragraph.cpp > ============================================================================== > --- lyx-devel/trunk/src/Paragraph.cpp Sat Aug 1 23:49:26 2009 (r30820) > +++ lyx-devel/trunk/src/Paragraph.cpp Sat Aug 1 23:54:13 2009 (r30821) > @@ -2554,8 +2554,11 @@ > if (isPrintable(c) || c == '\t' > || (c == '\n' && options & AS_STR_NEWLINES)) > os.put(c); > - else if (c == META_INSET && options & AS_STR_INSETS) > + else if (c == META_INSET && options & AS_STR_INSETS) {
This is one of the few places where I think that 'useless' parantheses improve readability. Andre'