diff --git a/components/style/properties/longhands/font.mako.rs b/components/style/properties/longhands/font.mako.rs index 17836902740..86575720eba 100644 --- a/components/style/properties/longhands/font.mako.rs +++ b/components/style/properties/longhands/font.mako.rs @@ -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 };