[Kst] branches/work/kst/portto4/kst/src/datasources/ascii

Peter Kümmel syntheticpp at gmx.net
Tue Oct 16 20:37:39 UTC 2012


SVN commit 1320818 by kuemmel:

yes, we can ...

 M  +2 -1      asciisource.cpp  


--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.cpp #1320817:1320818
@@ -274,7 +274,8 @@
   int sRead = 0;
   const QVector<AsciiFileData>& data = _fileBuffer.data();
   foreach (const AsciiFileData& chunk, data) {
-    sRead += _reader.readField(chunk, col, v + sRead, field, chunk.rowBegin(), chunk.rowsRead());
+    Q_ASSERT(sRead ==  chunk.rowBegin());
+    sRead += _reader.readField(chunk, col, v +  chunk.rowBegin(), field, chunk.rowBegin(), chunk.rowsRead());
   }
 
   return sRead;


More information about the Kst mailing list