lib/writeexcel/workbook.rb in writeexcel-0.6.1 vs lib/writeexcel/workbook.rb in writeexcel-0.6.2

- old
+ new

@@ -2970,11 +2970,11 @@ append(data) return end # Change length field of the first MSODRAWINGGROUP block. Case 2 and 3. - tmp = data.dup - tmp[0, limit + 4] = "" + tmp = data[0, limit + 4] + data[0, limit + 4] = "" tmp[2, 2] = [limit].pack('v') append(tmp) # Add MSODRAWINGGROUP and CONTINUE blocks for Case 3 above. while data.bytesize > limit