Skip to content

Commit

Permalink
FIXED:issue kanjielu#11,invalid QRCode display;
Browse files Browse the repository at this point in the history
  • Loading branch information
yangboz committed May 16, 2018
1 parent 919ba84 commit 6dd5fe4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/cherry/jeeves/utils/QRCodeUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ private static String toAscii(BitMatrix bitMatrix) {
if (!bitMatrix.get(r, c)) {
builder.append("\033[47m \033[0m");
} else {
builder.append("\033[40m \033[0m");
// builder.append("\033[40m \033[0m");@see issue:https://github.com/kanjielu/jeeves/issues/11
builder.append("\033[0;30m \033[0m");
}
}
builder.append("\n");
Expand Down

0 comments on commit 6dd5fe4

Please sign in to comment.