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

Peter Kümmel syntheticpp at gmx.net
Thu Jan 27 11:54:19 CET 2011


SVN commit 1217456 by kuemmel:

fix const column widths reading: don't eat the first character of the column

 M  +1 -1      asciisource.cpp  


--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.cpp #1217455:1217456
@@ -581,7 +581,7 @@
             toDouble(lexc, buffer, bufread, ch, &v[i], i);
             if (are_column_widths_const()) {
               if (col_start == -1) {
-              col_start = ch - _rowIndex[s]  + 1;
+                col_start = ch - _rowIndex[s];
               }
             }
             break;


More information about the Kst mailing list