Skip to content

Commit

Permalink
Convert query characters to ASCII when printing backtrack
Browse files Browse the repository at this point in the history
  • Loading branch information
Rone committed Jul 7, 2020
1 parent e78f80c commit 77a5261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions range_source.h
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ class Branch {
ss3 << " " << (char)tolower(edits_.get(editidx).chr);
editidx++;
} else {
ss3 << " " << (char)qry[qlen - i - 1];
ss3 << " " << (char)qry.toChar(qlen - i - 1);
}
printed++;
}
Expand All @@ -854,7 +854,7 @@ class Branch {
ss3 << (char)tolower(edits_.get(editidx).chr) << " ";
editidx++;
} else {
ss3 << (char)qry[qlen - printed - 1] << " ";
ss3 << (char)qry.toChar(qlen - printed - 1) << " ";
}
printed++;
}
Expand Down

0 comments on commit 77a5261

Please sign in to comment.