[Kst] branches/work/kst/1.5/kst/src/datasources/scuba2

Andrew Walker arwalker at sumusltd.com
Thu May 3 03:08:38 CEST 2007


SVN commit 660534 by arwalker:

runfile is decimal

 M  +3 -3      scuba.cpp  


--- branches/work/kst/1.5/kst/src/datasources/scuba2/scuba.cpp #660533:660534
@@ -1159,7 +1159,7 @@
           index = s.find(QChar('>'));
           s.remove(0, index+1);
           s.stripWhiteSpace();
-          datamode = s.toInt(&ok, 16);
+          datamode = s.toInt(&ok, 10);
            // FIXME datamode set at rc level
           datamode = 4;
 
@@ -1170,7 +1170,7 @@
           index = s.find(QChar('>'));
           s.remove(0, index+1);
           s.stripWhiteSpace();
-          row_len = s.toInt(&ok, 16);
+          row_len = s.toInt(&ok, 10);
           if (!ok) {
             row_len = -1;
           }
@@ -1179,7 +1179,7 @@
           index = s.find(QChar('>'));
           s.remove(0, index+1);
           s.stripWhiteSpace();
-          num_rows = s.toInt(&ok, 16);
+          num_rows = s.toInt(&ok, 10);
           if (!ok) {
             num_rows = -1;
           }


More information about the Kst mailing list