]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiFontLoader.cpp
Use <cstdint> instead of <boost/cstdint.hpp>
[lyx.git] / src / frontends / qt4 / GuiFontLoader.cpp
index 06163390a5fdffa0db69fa78349adeaffae48518..9ea8e1837b8cdbcd2c0496d8567a4ef632b22601 100644 (file)
@@ -94,7 +94,7 @@ fontinfo_[NUM_FAMILIES][NUM_SERIES][NUM_SHAPE][NUM_SIZE][NUM_STYLE];
 GuiFontInfo * & fontinfo_ptr(FontInfo const & f)
 {
        // The display font and the text font are the same
-       size_t const style = (f.style() == LM_ST_DISPLAY) ? LM_ST_TEXT : f.style();
+       size_t const style = (f.style() == DISPLAY_STYLE) ? TEXT_STYLE : f.style();
        return fontinfo_[f.family()][f.series()][f.realShape()][f.size()][style];
 }