]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/xftFontLoader.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / xftFontLoader.h
index 2279a4c557b5ac778e4167f3b76bc54d3aef14ed..a04f11f5dfaa57f5e5f43c135acd0efbe01522f6 100644 (file)
@@ -39,11 +39,11 @@ public:
                      LyXFont::FONT_SHAPE shape,
                      LyXFont::FONT_SIZE size)
        {
-                if (fonts_[family][series][shape][size])
-                        return fonts_[family][series][shape][size];
-                else
+               if (fonts_[family][series][shape][size])
+                       return fonts_[family][series][shape][size];
+               else
                        return doLoad(family, series, shape, size);
-        }
+       }
 
        bool isSpecial(LyXFont const & f)
        {
@@ -72,9 +72,9 @@ private:
 
        /** Does the actual loading of a font. Updates fontstruct. */
        XftFont * doLoad(LyXFont::FONT_FAMILY family,
-                         LyXFont::FONT_SERIES series,
-                         LyXFont::FONT_SHAPE shape,
-                         LyXFont::FONT_SIZE size);
+                        LyXFont::FONT_SERIES series,
+                        LyXFont::FONT_SHAPE shape,
+                        LyXFont::FONT_SIZE size);
 };
 
 ///