shithub: libmujs

Download patch

ref: 429d7cdce99df7b26eb6f15b819be98074f48695
parent: dde8db59b846ec59f809b3d885fd1c82a567b67a
author: Sebastian Rasmussen <[email protected]>
date: Mon Dec 30 17:58:43 EST 2013

Fix typo so all arguments are loaded.

--- a/main.c
+++ b/main.c
@@ -9,7 +9,7 @@
 	J = js_newstate();
 
 	for (i = 1; i < argc; i++) {
-		js_loadfile(J, argv[1]);
+		js_loadfile(J, argv[i]);
 		// js_run(J);
 	}