]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfont.C
Scons: update_po target, part one: language_l10n.pot
[lyx.git] / src / lyxfont.C
index fb02fdced841b16cec9b8cb459cc98b659a59982..05949567d55e9fd3a291d8cc17276cbcb71e234c 100644 (file)
@@ -737,11 +737,11 @@ void LyXFont::lyxWriteChanges(LyXFont const & orgfont,
 /// Writes the head of the LaTeX needed to impose this font
 // Returns number of chars written.
 int LyXFont::latexWriteStartChanges(odocstream & os, LyXFont const & base,
-                                   LyXFont const & prev) const
+                                    LyXFont const & prev) const
 {
-       int count = 0;
        bool env = false;
 
+       int count = 0;
        if (language()->babel() != base.language()->babel() &&
            language() != prev.language()) {
                if (isRightToLeft() != prev.isRightToLeft()) {
@@ -833,7 +833,7 @@ int LyXFont::latexWriteStartChanges(odocstream & os, LyXFont const & base,
 // Returns number of chars written
 // This one corresponds to latexWriteStartChanges(). (Asger)
 int LyXFont::latexWriteEndChanges(odocstream & os, LyXFont const & base,
-                                 LyXFont const & next) const
+                                  LyXFont const & next) const
 {
        int count = 0;
        bool env = false;