Skip to content
Snippets Groups Projects
Commit 2de9f168 authored by deuce's avatar deuce
Browse files

Make each address a property rather than an array element so you can look

up and entry by address.
parent bd12cd28
No related branches found
No related tags found
No related merge requests found
......@@ -286,7 +286,7 @@ var FIDO = {
var flags;
var flag;
var value;
ret.entries = [];
ret.entries = {};
while ((line = f.readln(2048))) {
lineno++;
......@@ -384,7 +384,7 @@ var FIDO = {
value = true;
entry.flags[flag] = value;
}
ret.entries.push(entry);
ret.entries[entry.addr] = entry;
}
return ret;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment