diff options
Diffstat (limited to 'music_sampler/sysfont.py')
-rw-r--r-- | music_sampler/sysfont.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/music_sampler/sysfont.py b/music_sampler/sysfont.py index f47693e..7bb518e 100644 --- a/music_sampler/sysfont.py +++ b/music_sampler/sysfont.py | |||
@@ -115,7 +115,7 @@ def _cache_fonts_fontconfig(): | |||
115 | 115 | ||
116 | # get the font name | 116 | # get the font name |
117 | name = None | 117 | name = None |
118 | if len(values) > 3: | 118 | if len(values) > 4: |
119 | fullnames, fullnamelangs = values[3:] | 119 | fullnames, fullnamelangs = values[3:] |
120 | langs = fullnamelangs.split(",") | 120 | langs = fullnamelangs.split(",") |
121 | try: | 121 | try: |