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];
}