]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiFontLoader.cpp
Rename LM_TC_* to FONT_STYLE_*
[features.git] / src / frontends / qt4 / GuiFontLoader.cpp
index 06163390a5fdffa0db69fa78349adeaffae48518..3e2451682c83c88796b7ec71549899e0368cbe5b 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() == FONT_STYLE_DISPLAY) ? FONT_STYLE_TEXT : f.style();
        return fontinfo_[f.family()][f.series()][f.realShape()][f.size()][style];
 }