ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/GBam.cpp
(Generate patch)
# Line 320 | Line 320
320             else if ('i' == sub_type || 'I' == sub_type || 'f' == sub_type)
321                           { m_inc = 4; }
322             if (m_inc==0)
323 <                 GError("Error: invalid 'B' array subtype (%c)!\n",sub_type);
323 >              GError("Error: invalid 'B' array subtype (%c)!\n",sub_type);
324             inc += m_inc*n;
325             break;
326         case 'H':
327         case 'Z':
328           while (*(s+inc)) ++inc;
329 +          ++inc; // to skip the terminating \0
330           break;
331         } //switch (tag_type)
332 <     if (tag[0]==key[0] && tag[1]==key[1])
332 >     if (tag[0]==key[0] && tag[1]==key[1]) {
333          return inc;
334 +        }
335       s+=inc;
336       }//while aux data
337     return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines