Changeset 9608 in ntrip


Ignore:
Timestamp:
Jan 19, 2022, 9:59:53 PM (4 months ago)
Author:
stuerze
Message:

revert some changes

Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncantex.cpp

    r9598 r9608  
    112112
    113113  QString u, n,e;
    114   u.asprintf("%+6.4f" ,frqMap->neu[2]); if (u.mid(1,1) == "0") {u.remove(1,1);}
    115   n.asprintf("%+6.4f" ,frqMap->neu[0]); if (n.mid(1,1) == "0") {n.remove(1,1);}
    116   e.asprintf("%+6.4f" ,frqMap->neu[1]); if (e.mid(1,1) == "0") {e.remove(1,1);}
     114  u.sprintf("%+6.4f" ,frqMap->neu[2]); if (u.mid(1,1) == "0") {u.remove(1,1);}
     115  n.sprintf("%+6.4f" ,frqMap->neu[0]); if (n.mid(1,1) == "0") {n.remove(1,1);}
     116  e.sprintf("%+6.4f" ,frqMap->neu[1]); if (e.mid(1,1) == "0") {e.remove(1,1);}
    117117
    118118  return QString(" %1 %2 %3").arg(u).arg(n).arg(e);
  • trunk/BNC/src/bnccore.cpp

    r9591 r9608  
    391391      if ( ! (appendFlagGPS & QIODevice::Append)) {
    392392        QString line;
    393         line.asprintf(
     393        line.sprintf(
    394394          "%9.2f%11sN: GNSS NAV DATA    M: Mixed%12sRINEX VERSION / TYPE\n",
    395395          defaultRnxNavVersion3, "", "");
     
    407407        }
    408408
    409         line.asprintf("%60sEND OF HEADER\n", "");
     409        line.sprintf("%60sEND OF HEADER\n", "");
    410410        *_ephStreamGPS << line;
    411411
     
    419419      if (! (appendFlagGPS & QIODevice::Append)) {
    420420        QString line;
    421         line.asprintf("%9.2f%11sN: GPS NAV DATA%25sRINEX VERSION / TYPE\n",
     421        line.sprintf("%9.2f%11sN: GPS NAV DATA%25sRINEX VERSION / TYPE\n",
    422422                     defaultRnxNavVersion2, "", "");
    423423        *_ephStreamGPS << line;
     
    434434        }
    435435
    436         line.asprintf("%60sEND OF HEADER\n", "");
     436        line.sprintf("%60sEND OF HEADER\n", "");
    437437        *_ephStreamGPS << line;
    438438
     
    441441      if (! (appendFlagGlonass & QIODevice::Append)) {
    442442        QString line;
    443         line.asprintf("%9.2f%11sG: GLONASS NAV DATA%21sRINEX VERSION / TYPE\n",
     443        line.sprintf("%9.2f%11sG: GLONASS NAV DATA%21sRINEX VERSION / TYPE\n",
    444444                     defaultRnxNavVersion2, "", "");
    445445        *_ephStreamGlonass << line;
     
    456456        }
    457457
    458         line.asprintf("%60sEND OF HEADER\n", "");
     458        line.sprintf("%60sEND OF HEADER\n", "");
    459459        *_ephStreamGlonass << line;
    460460
Note: See TracChangeset for help on using the changeset viewer.