Changeset 6133


Ignore:
Timestamp:
2003-12-05T15:05:14+13:00 (20 years ago)
Author:
mdewsnip
Message:

The last file now gets processed too... oops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/help/splithelpdocument.pl

    r5425 r6133  
    5252    }
    5353    }
     54
     55    # Deal with the last file
     56    if ($filename ne "") {
     57    open(FILE_OUT, ">$filename.htm") or die "Error: Could not write $filename.htm.\n";
     58    for ($j = $filestart; $j < $i; $j++) {
     59        print FILE_OUT $lines[$j];
     60    }
     61    close(FILE_OUT);
     62    }
    5463}
    5564
Note: See TracChangeset for help on using the changeset viewer.