<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -161,8 +161,7 @@ package com.as3xls.cdf
 			ret.endian = Endian.LITTLE_ENDIAN;
 			var secId:int = startSecID;
 			var offset:uint = 0;
-			
-			while(secId != -2) {
+			while(secId &gt;= 0) {
 				stream.position = sectorOffset(secId);
 				stream.readBytes(ret, offset, sectorSize);
 				offset += sectorSize;</diff>
      <filename>src/com/as3xls/cdf/CDFReader.as</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>24c1ecea9965609f6368352a01b96aa511712f40</id>
    </parent>
  </parents>
  <author>
    <name>Dan Wilson</name>
    <email>dan@inkling-software.co.uk</email>
  </author>
  <url>http://github.com/djw/as3xls/commit/82b4508e0ea17aa79e28198f173139977dc70eef</url>
  <id>82b4508e0ea17aa79e28198f173139977dc70eef</id>
  <committed-date>2009-10-29T05:13:22-07:00</committed-date>
  <authored-date>2009-10-29T05:13:22-07:00</authored-date>
  <message>We want to break out of the loop for any negative number, not just -2.</message>
  <tree>cb302e06353d18b7450d005cfae3dbba4d912b5a</tree>
  <committer>
    <name>Dan Wilson</name>
    <email>dan@inkling-software.co.uk</email>
  </committer>
</commit>
