Commit d705aaec authored by mcmlxxix's avatar mcmlxxix
Browse files

fixed stupid bug that I don't quite understand

parent d718d934
......@@ -27,6 +27,7 @@ function HelpFile(helpfile)
this.initSections=function()
{
var sections=this.file.iniGetSections();
if(!sections) return false;
var positions=new Array;
for(var s=0;s<sections.length;s++)
{
......@@ -38,6 +39,7 @@ function HelpFile(helpfile)
}
this.loadSections=function(positions)
{
if(!positions) return false;
this.sections.shift();
for(var p=0;p<positions.length;p++)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment