Index: trunk/BNC/src/rinex/rnxnavfile.cpp
===================================================================
--- trunk/BNC/src/rinex/rnxnavfile.cpp	(revision 7628)
+++ trunk/BNC/src/rinex/rnxnavfile.cpp	(revision 7638)
@@ -35,5 +35,5 @@
  * Created:    24-Jan-2012
  *
- * Changes:    
+ * Changes:
  *
  * -----------------------------------------------------------------------*/
@@ -130,5 +130,5 @@
   for (unsigned ii = 0; ii < _ephs.size(); ii++) {
     delete _ephs[ii];
-  }  
+  }
 }
 
@@ -156,10 +156,11 @@
     else {
       if (glonass()) {
-        prn = QString("R%1").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
+        prn = QString("R%1_0").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
       }
       else {
-        prn = QString("G%1").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
-      }
-    }
+        prn = QString("G%1_0").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));
+      }
+    }
+
     t_eph* eph = 0;
     QStringList lines; lines << line;
@@ -213,5 +214,5 @@
 // Read Next Ephemeris
 ////////////////////////////////////////////////////////////////////////////
-t_eph* t_rnxNavFile::getNextEph(const bncTime& tt, 
+t_eph* t_rnxNavFile::getNextEph(const bncTime& tt,
                                 const QMap<QString, unsigned int>* corrIODs) {
 
@@ -243,7 +244,5 @@
     while (it != _ephs.end()) {
       t_eph* eph = *it;
-
       double dt = eph->TOC() - tt;
-
       if (dt < 2*3600.0) {
         it = _ephs.erase(it);
@@ -257,5 +256,5 @@
 }
 
-// 
+//
 ////////////////////////////////////////////////////////////////////////////
 void t_rnxNavFile::writeHeader(const QMap<QString, QString>* txtMap) {
@@ -278,5 +277,5 @@
 
   if (version() < 3.0) {
-    const QString fmt = glonass() ? "%1           GLONASS navigation data" 
+    const QString fmt = glonass() ? "%1           GLONASS navigation data"
                                   : "%1           Navigation data";
     *_stream << QString(fmt)
@@ -311,5 +310,5 @@
 }
 
-// 
+//
 ////////////////////////////////////////////////////////////////////////////
 void t_rnxNavFile::writeEph(const t_eph* eph) {
