diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-05-14 23:35:51 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-06-18 07:32:29 +0000 |
| commit | 0b82ba7b1029b9ac9e0d6a914ad7bdcac693e598 (patch) | |
| tree | 7bb58621836dc55aff6a4e9ac62ccc369d9f44db /src | |
| parent | Better check for CONTROL_CODE (diff) | |
| download | inkscape-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.cpp | 2 |
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; |
