diff options
author | Alon Zakai <azakai@mozilla.com> | 2010-12-28 20:36:26 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2010-12-28 20:36:26 -0800 |
commit | 77c9c660dd6e62acd2a331c2a780531fd5c25419 (patch) | |
tree | 8a974dc069ab1ef0583b7e228a989813208c3b06 /src | |
parent | 7b0c30e6ad8c660e861bd2e4490e043ebc18c54d (diff) |
handle env of 0 as a third parameter for main()
Diffstat (limited to 'src')
-rw-r--r-- | src/postamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postamble.js b/src/postamble.js index ba295ea7..87850d96 100644 --- a/src/postamble.js +++ b/src/postamble.js @@ -26,7 +26,7 @@ function run(args) { __globalConstructor__(); if (Module['_main']) { - _main(argc, argv); + _main(argc, argv, 0); __shutdownRuntime__(); } } |