Skip to content
Snippets Groups Projects
Commit dcc94a93 authored by rswindell's avatar rswindell
Browse files

Declare 'i' using var, so as to not clobber any parent script's 'i' variable

when load()ed.
parent ecb274fe
Branches
Tags
No related merge requests found
......@@ -11,6 +11,7 @@ var f;
var title='';
var filename='';
var mode=P_NONE;
var i;
for(i in argv) {
if(filename=='') {
......
......@@ -23,6 +23,7 @@ var LIST_ITEM ="\1N\r\n \1H\1Wo \1G"
var f;
var mono=true;
var i;
for(i in argv) {
switch(argv[i].toLowerCase()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment