fix property name in error message

This commit is contained in:
Dane Springmeyer 2014-09-29 16:32:46 -07:00
parent a41978f439
commit aaec8058fa

View file

@ -58,7 +58,7 @@ void font_feature_settings::from_string(std::string const& features)
if (!qi::parse(features.begin(), features.end(), as_string[+(char_ - ',')][app] % ','))
{
throw config_error("failed to parse font-features: '" + features + "'");
throw config_error("failed to parse font-feature-settings: '" + features + "'");
}
}
@ -91,7 +91,7 @@ void font_feature_settings::append(std::string const& feature)
if (!hb_feature_from_string(feature.c_str(), feature.length(), &*current_feature))
{
features_.erase(current_feature);
throw config_error("failed to parse font-features: '" + feature + "'");
throw config_error("failed to parse font-feature-settings: '" + feature + "'");
}
}