Changeset 8656 in ntrip


Ignore:
Timestamp:
Apr 3, 2019, 3:30:41 PM (3 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/rinex/rnxobsfile.cpp

    r8641 r8656  
    9696    }
    9797    else if (key == "MARKER NAME") {
    98       if (_version < 3.0) {
    99         _markerName = line.mid(0,4).trimmed();
    100       }
    101       else {
    102         _markerName = line.mid(0,9).trimmed();
    103       }
     98      _markerName = value;
    10499    }
    105100    else if (key == "MARKER TYPE") {
     
    614609    *stream << itCmnt.next().trimmed().left(60).leftJustified(60) << "COMMENT\n";
    615610  }
    616 
     611  QString markerName = _markerName.left(9);
     612  if (_version < 3.0) {
     613    markerName = _markerName.left(4);
     614  }
    617615  *stream << QString("%1")
    618     .arg(_markerName, -60)
     616    .arg(markerName, -60)
    619617    .leftJustified(60)
    620618           << "MARKER NAME\n";
Note: See TracChangeset for help on using the changeset viewer.