Skip to content

Commit

Permalink
style: Use an enum class for LookAndFeel::FontID.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Jun 18, 2020
1 parent 7b5953d commit 33b548a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/properties/longhands/font.mako.rs
Expand Up @@ -369,7 +369,7 @@ ${helpers.predefined_type(
let id = match *self {
% for font in system_fonts:
SystemFont::${to_camel_case(font)} => {
LookAndFeel_FontID::eFont_${to_camel_case(font.replace("-moz-", ""))}
LookAndFeel_FontID::${to_camel_case(font.replace("-moz-", ""))}
}
% endfor
};
Expand Down

0 comments on commit 33b548a

Please sign in to comment.