X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removeseqscommand.cpp;fp=removeseqscommand.cpp;h=c7af108325390221bd0313e4ad2a733dfd2e90d3;hb=b0997605981902442138b9309e9c43d95c3ba10a;hp=b4fb467d6e395ce9b1655e043859cff0e2c77f67;hpb=67ea6ccd74dbd64828d31b952808255f206364ff;p=mothur.git diff --git a/removeseqscommand.cpp b/removeseqscommand.cpp index b4fb467..c7af108 100644 --- a/removeseqscommand.cpp +++ b/removeseqscommand.cpp @@ -469,7 +469,7 @@ int RemoveSeqsCommand::readQual(){ saveName = name.substr(1); while (!in.eof()) { char c = in.get(); - if (c == 10 || c == 13){ break; } + if (c == 10 || c == 13 || c == -1){ break; } else { name += c; } } m->gobble(in);