Changeset 2036


Ignore:
Timestamp:
03/11/11 03:56:42 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2718

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Fixed a bug related to substring retrieve in Scantable::getAntennaName().


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r2032 r2036  
    12881288  String::size_type pos2 = out.find("//") ;
    12891289  if ( pos2 != String::npos )
    1290     out = out.substr(pos2+2,pos1) ;
     1290    out = out.substr(pos2+2,pos1-pos2-2) ;
    12911291  else if ( pos1 != String::npos )
    12921292    out = out.substr(0,pos1) ;
Note: See TracChangeset for help on using the changeset viewer.