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

Peter Kümmel syntheticpp at gmx.net
Sun Oct 14 14:07:42 UTC 2012


SVN commit 1320508 by kuemmel:

Merge branch 'master' of github.com:syntheticpp/kst

 M  +1 -1      asciifilebuffer.cpp  
 M  +1 -1      asciifilebuffer.h  


--- branches/work/kst/portto4/kst/src/datasources/ascii/asciifilebuffer.cpp #1320507:1320508
@@ -37,7 +37,7 @@
     _array = new Array;
   }
   _begin = -1;
-  _bytesRead = -1;
+  _bytesRead = 0;
 }
 
 //-------------------------------------------------------------------------------------------
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciifilebuffer.h #1320507:1320508
@@ -33,7 +33,7 @@
 
   typedef QVarLengthArray<char, Prealloc> Array;
   
-  inline AsciiFileBuffer() : _array(new Array), _begin(-1), _bytesRead(-1) {}
+  inline AsciiFileBuffer() : _array(new Array), _begin(-1), _bytesRead(0) {}
   inline ~AsciiFileBuffer() { delete _array; }
 
   inline int begin() const { return _begin; }


More information about the Kst mailing list