summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2018-08-28 20:38:47 +0200
committerBernhard M. Wiedemann <bwiedemann@suse.de>2018-08-29 10:24:07 +0200
commitf3125823268c414e7538d440cffe3c8a95294cad (patch)
tree88079fe8ce73d5fe04fb37bce0567e0cd685faec /editor
parentb6c170165c09c24f0b3ae224e204ae62ac75c325 (diff)
BuildSystem: Fix font list
We want to add the individual strings to the list and not add a list object to the list. Without this patch, sorting failed because "str < list" is not a valid operation in python.
Diffstat (limited to 'editor')
-rw-r--r--editor/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/SCsub b/editor/SCsub
index 4fa287c33b..75dc188b86 100644
--- a/editor/SCsub
+++ b/editor/SCsub
@@ -76,7 +76,7 @@ if env['tools']:
# Fonts
flist = glob.glob(path + "/../thirdparty/fonts/*.ttf")
- flist.append(glob.glob(path + "/../thirdparty/fonts/*.otf"))
+ flist.extend(glob.glob(path + "/../thirdparty/fonts/*.otf"))
env.Depends('#editor/builtin_fonts.gen.h', flist)
env.CommandNoCache('#editor/builtin_fonts.gen.h', flist, run_in_subprocess(editor_builders.make_fonts_header))