X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=prcseqscommand.cpp;h=cf93cb796104aa90428e5466546c9839789216f7;hb=2cfb747aa8f63bde9c1114001e6d2e81ccd26178;hp=5fa71bef6b3474cc516491044c41729a318d449f;hpb=7f1aca4ed9e6db70de82e80ca4771f7680b21d26;p=mothur.git diff --git a/prcseqscommand.cpp b/prcseqscommand.cpp index 5fa71be..cf93cb7 100644 --- a/prcseqscommand.cpp +++ b/prcseqscommand.cpp @@ -804,7 +804,7 @@ bool PcrSeqsCommand::readOligos(){ // get rest of line in case there is a primer name while (!inOligos.eof()) { char c = inOligos.get(); - if (c == 10 || c == 13){ break; } + if (c == 10 || c == 13 || c == -1){ break; } else if (c == 32 || c == 9){;} //space or tab } primers[oligo] = primerCount; primerCount++;