We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7402c75 commit 4f273f1Copy full SHA for 4f273f1
src/read.cpp
@@ -180,8 +180,9 @@ bool Read::fixMGI() {
180
int len = mName->length();
181
if((*mName)[len-1]=='1' || (*mName)[len-1]=='2') {
182
if((*mName)[len-2] == '/') {
183
+ string* newName = new string(mName->substr(0, len-2) + " " + mName->substr(len-2, 2));
184
delete mName;
- mName = new string(mName->substr(0, len-2) + " " + mName->substr(len-2, 2));
185
+ mName = newName;
186
return true;
187
}
188
0 commit comments