summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-05-14 23:35:51 +0000
committerThomas Holder <thomas@thomas-holder.de>2019-06-18 07:32:29 +0000
commit0b82ba7b1029b9ac9e0d6a914ad7bdcac693e598 (patch)
tree7bb58621836dc55aff6a4e9ac62ccc369d9f44db /src
parentBetter check for CONTROL_CODE (diff)
downloadinkscape-0b82ba7b1029b9ac9e0d6a914ad7bdcac693e598.tar.gz
inkscape-0b82ba7b1029b9ac9e0d6a914ad7bdcac693e598.zip
Show correct selected font feature for large lists
Diffstat (limited to 'src')
-rw-r--r--src/ui/widget/font-variants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/font-variants.cpp b/src/ui/widget/font-variants.cpp
index b81f809b2..28ba7dc14 100644
--- a/src/ui/widget/font-variants.cpp
+++ b/src/ui/widget/font-variants.cpp
@@ -711,7 +711,7 @@ namespace Widget {
// Fix me: Should match a space if second part matches. ---,
// : Add boundary to 'on' and 'off'. v
- Glib::RefPtr<Glib::Regex> regex = Glib::Regex::create("\"(\\w{4})\"\\s*([0-9]|on|off|)");
+ Glib::RefPtr<Glib::Regex> regex = Glib::Regex::create("\"(\\w{4})\"\\s*([0-9]+|on|off|)");
Glib::MatchInfo matchInfo;
std::string setting;