Index: ossp-pkg/as/as-gui/as_dataop.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_dataop.cpp,v rcsdiff -q -kk '-r1.14' '-r1.15' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_dataop.cpp,v' 2>/dev/null --- as_dataop.cpp 2002/12/04 19:57:11 1.14 +++ as_dataop.cpp 2002/12/05 12:37:18 1.15 @@ -126,11 +126,15 @@ if (Remark != NULL) m_pMaintable->setText(nIter, TITRAQ_IDXREMARK, Remark); - nIter++; // The big increment - Line = ""; // Clear line for next round + nIter++; // The big increment + Line = trUtf8(""); // Clear line for next round - while (Line.isEmpty() && !Tstream.atEnd()) // Strip and get - Line = Tstream.readLine(); // the new line + while (Line.isEmpty() && !Tstream.atEnd()) { // Strip and get + Tstream.skipWhiteSpace(); // Remove white + Line = Tstream.readLine(); // the new line + if (Line.at(0) == QChar('#')) // Remove comments + Line = trUtf8(""); + } } m_pMaintable->setUpdatesEnabled(true); // Update and repaint