Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
miurahr committed Sep 2, 2021
1 parent dd8e274 commit fee92f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation("io.github.eb4j:eb4j:2.2.0")
implementation("io.github.eb4j:eb4j:2.2.1")
implementation("org.slf4j:slf4j-simple:1.7.32")
implementation("org.apache.commons:commons-lang3:3.11")
testImplementation("org.codehaus.groovy:groovy-all:3.0.5")
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/io/github/eb4j/ebview/Gaiji.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ public String getAltCode(final int code, final boolean narrow) {
String str = null;
// Check DDWIN style unicode map
if (unicodeMap != null) {
str = unicodeMap.get(code);
if (narrow) {
str = unicodeMap.getNarrow(code);
} else {
str = unicodeMap.getWide(code);
}
if (!StringUtils.isBlank(str)) {
return str;
}
Expand Down

0 comments on commit fee92f5

Please sign in to comment.