X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=removeseqscommand.cpp;h=c7af108325390221bd0313e4ad2a733dfd2e90d3;hp=b4fb467d6e395ce9b1655e043859cff0e2c77f67;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=037b7fccc64a5c7d5d5c23a949273a912160a400 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);