[Kst] kdeextragear-2/kst/kst/datasources/ascii

George Staikos staikos at kde.org
Fri Mar 5 07:47:12 CET 2004


CVS commit by staikos: 

no wonder it was so slow :)


  M +2 -2      ascii.cpp   1.12


--- kdeextragear-2/kst/kst/datasources/ascii/ascii.cpp  #1.11:1.12
@@ -253,8 +253,8 @@ QStringList AsciiSource::fieldList() con
   }
 
-  QRegExp re("^\\s*[\\#\\/\\c\\!].*");
+  QRegExp re("^\\s*[#/c!].*");
   while (!file.atEnd() && !done) {
       int rc = file.readLine(line, 1000);
-      if (rc > 1 && re.exactMatch(line)) {
+      if (rc > 1 && !re.exactMatch(line)) {
         done = true;
       }





More information about the Kst mailing list