summaryrefslogtreecommitdiff
path: root/main/SCsub
diff options
context:
space:
mode:
authorn4nn31355 <artemiev.vyacheslav@gmail.com>2018-04-05 05:23:38 +0300
committern4nn31355 <artemiev.vyacheslav@gmail.com>2018-04-05 05:23:38 +0300
commitbdc64efcb3419e3ae33ac10426ae1a88a469759c (patch)
tree5b3e6e2cd778b3af3681313624427bb1f24fbec5 /main/SCsub
parenta1f835df771464e9db6909fd104751ccbbc1b91a (diff)
Fix segfault on x11
Diffstat (limited to 'main/SCsub')
-rw-r--r--main/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SCsub b/main/SCsub
index 9eddc4f5b6..e2bf03234f 100644
--- a/main/SCsub
+++ b/main/SCsub
@@ -121,7 +121,7 @@ def make_default_controller_mappings(target, source, env):
g.write("\t\"{}\",\n".format(mapping))
g.write("#endif\n")
- g.write("};\n")
+ g.write("\tNULL\n};\n")
g.close()
env.main_sources = []