From aaec8058faa66764e9746be92ebfc3f2dba6be6f Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 29 Sep 2014 16:32:46 -0700 Subject: [PATCH] fix property name in error message --- src/text/font_feature_settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text/font_feature_settings.cpp b/src/text/font_feature_settings.cpp index c4dce260a..0a985c20e 100644 --- a/src/text/font_feature_settings.cpp +++ b/src/text/font_feature_settings.cpp @@ -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 + "'"); } }