- Timestamp:
- Jan 19, 2022, 9:59:53 PM (3 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncantex.cpp
r9598 r9608 112 112 113 113 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);} 117 117 118 118 return QString(" %1 %2 %3").arg(u).arg(n).arg(e); -
trunk/BNC/src/bnccore.cpp
r9591 r9608 391 391 if ( ! (appendFlagGPS & QIODevice::Append)) { 392 392 QString line; 393 line. asprintf(393 line.sprintf( 394 394 "%9.2f%11sN: GNSS NAV DATA M: Mixed%12sRINEX VERSION / TYPE\n", 395 395 defaultRnxNavVersion3, "", ""); … … 407 407 } 408 408 409 line. asprintf("%60sEND OF HEADER\n", "");409 line.sprintf("%60sEND OF HEADER\n", ""); 410 410 *_ephStreamGPS << line; 411 411 … … 419 419 if (! (appendFlagGPS & QIODevice::Append)) { 420 420 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", 422 422 defaultRnxNavVersion2, "", ""); 423 423 *_ephStreamGPS << line; … … 434 434 } 435 435 436 line. asprintf("%60sEND OF HEADER\n", "");436 line.sprintf("%60sEND OF HEADER\n", ""); 437 437 *_ephStreamGPS << line; 438 438 … … 441 441 if (! (appendFlagGlonass & QIODevice::Append)) { 442 442 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", 444 444 defaultRnxNavVersion2, "", ""); 445 445 *_ephStreamGlonass << line; … … 456 456 } 457 457 458 line. asprintf("%60sEND OF HEADER\n", "");458 line.sprintf("%60sEND OF HEADER\n", ""); 459 459 *_ephStreamGlonass << line; 460 460
Note:
See TracChangeset
for help on using the changeset viewer.