Changeset 4528 in ntrip


Ignore:
Timestamp:
Aug 14, 2012, 9:32:49 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4494 r4528  
    261261
    262262  *stream << QString("%1%2")
    263     .arg(_observer, -20)
    264     .arg(_agency,   -40)
     263    .arg(_observer.isEmpty() ? "unknown" : _observer, -20)
     264    .arg(_agency.isEmpty()   ? "unknown" : _agency,   -40)
    265265    .leftJustified(60)
    266266           << "OBSERVER / AGENCY\n";
    267267
    268268  *stream << QString("%1%2%3")
    269     .arg(_receiverNumber,  -20)
    270     .arg(_receiverType,    -20)
    271     .arg(_receiverVersion, -20)
     269    .arg(_receiverNumber.isEmpty()  ? "unknown" : _receiverNumber,  -20)
     270    .arg(_receiverType.isEmpty()    ? "unknown" : _receiverType,    -20)
     271    .arg(_receiverVersion.isEmpty() ? "unknown" : _receiverVersion, -20)
    272272    .leftJustified(60)
    273273           << "REC # / TYPE / VERS\n";
    274274
    275275  *stream << QString("%1%2")
    276     .arg(_antennaNumber, -20)
    277     .arg(_antennaName,   -20)
     276    .arg(_antennaNumber.isEmpty() ? "unknown" : _antennaNumber, -20)
     277    .arg(_antennaName.isEmpty()   ? "unknown" : _antennaName,   -20)
    278278    .leftJustified(60)
    279279           << "ANT # / TYPE\n";
Note: See TracChangeset for help on using the changeset viewer.