Browse Source

Fix segfault on x11

n4nn31355 7 years ago
parent
commit
bdc64efcb3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/SCsub

+ 1 - 1
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 = []