Changeset 4120 in ntrip for trunk/BNC/rinex


Ignore:
Timestamp:
May 5, 2012, 8:27:12 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/rnxobsfile.cpp

    r4116 r4120  
    659659    }
    660660    else if (it.key() == "COMMENT") {
    661       comments = it.value().split(QChar('\n'), QString::SkipEmptyParts);
     661      comments = it.value().split("\\n", QString::SkipEmptyParts);
    662662    }
    663663  }
     
    677677  QStringListIterator itCmnt(comments);
    678678  while (itCmnt.hasNext()) {
    679     *_stream << itCmnt.next().leftJustified(60) << "COMMENT\n";
     679    *_stream << itCmnt.next().trimmed().leftJustified(60) << "COMMENT\n";
    680680  }
    681681
Note: See TracChangeset for help on using the changeset viewer.