diff --git a/exec/postxtrn.js b/exec/postxtrn.js index 88c19e0649c95d90ebf55dacfe59b872d5e17c17..ceb19b004432ebce3391ac7e5992f5b95a5342b4 100644 --- a/exec/postxtrn.js +++ b/exec/postxtrn.js @@ -5,11 +5,11 @@ "use strict"; -function exec_xtrn_post(program) +function exec_xtrn_post(prog) { var options; - if ((options = load({}, "modopts.js","xtrn:" + program.code)) == null) { + if ((options = load({}, "modopts.js","xtrn:" + prog.code)) == null) { if ((options = load({}, "modopts.js","xtrn_sec")) == null) options = {}; // default values } diff --git a/exec/prextrn.js b/exec/prextrn.js index 124db643591a2069ae43d70df9932c81ea57e495..46132f3277976bb56bf8f7b939f6712c4cdfad08 100644 --- a/exec/prextrn.js +++ b/exec/prextrn.js @@ -5,11 +5,11 @@ "use strict"; -function exec_xtrn_pre(program) +function exec_xtrn_pre(prog) { var options; - if ((options = load({}, "modopts.js","xtrn:" + program.code)) == null) { + if ((options = load({}, "modopts.js","xtrn:" + prog.code)) == null) { if ((options = load({}, "modopts.js","xtrn_sec")) == null) options = {}; // default values } @@ -31,8 +31,8 @@ function exec_xtrn_pre(program) } } - if (bbs.menu_exists("xtrn/" + program.code)) { - bbs.menu("xtrn/" + program.code); + if (bbs.menu_exists("xtrn/" + prog.code)) { + bbs.menu("xtrn/" + prog.code); console.pause(); console.line_counter=0; } @@ -48,7 +48,7 @@ function exec_xtrn_pre(program) eval(options.eval_before_exec); } - load('fonts.js', 'xtrn:' + program.code); + load('fonts.js', 'xtrn:' + prog.code); }