From d32a38cf858a398e10ad858367927f17a22aca21 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 26 Oct 1999 15:07:36 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ src/paragraph.C | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ae862e0e80..49ea43644e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-10-25 Jean-Marc Lasgouttes + + * 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 * development/lyx.spec.in (%build): add CFLAGS also. diff --git a/src/paragraph.C b/src/paragraph.C index 7c749727fd..ea98287180 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -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 += ' '; -- 2.39.2