Do not make spaces unbreakable when tt font is used in a paragraph

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@253 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 1999-10-26 15:07:36 +00:00
parent a858be7332
commit d32a38cf85
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
unbreakable if we are in freespacing mode (LyX-Code), but not in
latex mode.
1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
* development/lyx.spec.in (%build): add CFLAGS also.

View File

@ -2914,7 +2914,7 @@ void LyXParagraph::SimpleTeXBlanks(string &file, TexRow &texrow,
texrow.start(this, i+1);
column = 0;
} else if (font.latex() == LyXFont::OFF) {
if (font.family() == LyXFont::TYPEWRITER_FAMILY) {
if (style->free_spacing) {
file += '~';
} else {
file += ' ';