fix character count for the \noun macro

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7052 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-05-27 13:32:32 +00:00
parent 5e01b47859
commit 30aa0e30b6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxfont.C (latexWriteStartChanges): fix character count for \noun
2003-05-26 John Levon <levon@movementarian.org>
* LyXAction.C: LFUN_ESCAPE should be ReadOnly

View File

@ -827,7 +827,7 @@ int LyXFont::latexWriteStartChanges(ostream & os, LyXFont const & base,
// \noun{} is a LyX special macro
if (f.noun() == ON) {
os << "\\noun{";
count += 8;
count += 6;
env = true; //We have opened a new environment
}
if (f.size() != INHERIT_SIZE) {