X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sffinfocommand.cpp;h=7511a2e613bb08912044ad3c044cf3a6a8f91c40;hb=cd4c86f68cb53017f0f98a82dd2c2e56a64c67bd;hp=bbfcfd4510443de7edc42b7527083a52fc032728;hpb=2431fce75705f16d6d7cab7a6f5fe02051d82ca5;p=mothur.git diff --git a/sffinfocommand.cpp b/sffinfocommand.cpp index bbfcfd4..7511a2e 100644 --- a/sffinfocommand.cpp +++ b/sffinfocommand.cpp @@ -410,7 +410,7 @@ int SffInfoCommand::readHeader(ifstream& in, Header& header){ char buffer5 [2]; in.read(buffer5, 2); header.clipQualRight = be_int2(*(unsigned short *)(&buffer5)); - if(header.clipQualRight == 0){ header.clipQualRight = numBases; } + if(header.clipQualRight == 0){ header.clipQualRight = header.numBases; } //read clipAdapterLeft char buffer6 [2];