Changeset 1727 in ntrip


Ignore:
Timestamp:
Mar 5, 2009, 3:12:48 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/RTCM3coDecoder.cpp

    r1582 r1727  
    105105
    106106    delete _out;
    107     _out = new ofstream( _fileName.toAscii().data() );
     107    if ( Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked) {
     108      _out = new ofstream( _fileName.toAscii().data(),
     109                           ios_base::out | ios_base::app );
     110    }
     111    else {
     112      _out = new ofstream( _fileName.toAscii().data() );
     113    }
    108114  }
    109115}
Note: See TracChangeset for help on using the changeset viewer.