[Kst] kdeextragear-2/kst/kst [POSSIBLY UNSAFE]
Andrew Walker
arwalker at sumusltd.com
Wed Jun 23 03:09:43 CEST 2004
CVS commit by arwalker:
No longer save the index value when a vector is saved to disk.
Decision made at UBC meeting by cbn, rc, and arw.
M +1 -1 kstdatacollection-gui.cpp 1.6 [POSSIBLY UNSAFE: printf]
--- kdeextragear-2/kst/kst/kstdatacollection-gui.cpp #1.5:1.6
@@ -86,5 +86,5 @@ int KST::vectorToFile(KstVectorPtr v, QF
for (int i = 0; i < _size; i++) {
- int l = snprintf(buf, BSIZE, "%d %g\n", i, _v[i]);
+ int l = snprintf(buf, BSIZE, "%g\n", _v[i]);
f->writeBlock(buf, l);
if (i % 100 == 0) {
More information about the Kst
mailing list