]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetenv.C
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetenv.C
index c97f85c320dba2239257ffcc908644429d26c8fc..53926417e0ba4f313a4fe9235508f82d718acb06 100644 (file)
@@ -88,7 +88,7 @@ int InsetEnvironment::plaintext(Buffer const & buf, odocstream & os,
        InsetText::plaintext(buf, os, runparams);
        os << "\n]";
 
-       return 1 + runparams.linelen; // one char on a separate line
+       return PLAINTEXT_NEWLINE + 1; // one char on a separate line
 }