Changeset 2888 in ntrip for trunk/BNC/bncantex.cpp


Ignore:
Timestamp:
Jan 26, 2011, 12:26:23 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncantex.cpp

    r2887 r2888  
    8080  QTextStream in(&inFile);
    8181
     82  t_antMap* newAntMap = 0;
     83  t_frqMap* newFrqMap = 0;
     84
    8285  while ( !in.atEnd() ) {
    8386    QString line = in.readLine();
    8487 
    85     t_antMap* newAntMap = 0;
    86 
    8788    // Start of Antenna
    8889    // ----------------
     
    112113    // ---------------------------
    113114    else if (newAntMap) {
    114       t_frqMap* newFrqMap = 0;
    115115      if      (line.indexOf("TYPE / SERIAL NO") == 60) {
    116116        if (line.indexOf("BLACK I") == 0 ||
     
    142142      // End of Frequency
    143143      // ----------------
    144       else if (line.indexOf("END OF FRQUENCY") == 60) {
     144      else if (line.indexOf("END OF FREQUENCY") == 60) {
    145145        if (newFrqMap) {
    146146          if      (line.indexOf("G01") == 3) {
Note: See TracChangeset for help on using the changeset viewer.