Skip to content

Commit

Permalink
Update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Apr 2, 2024
1 parent 6749c6d commit 9f83ec7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
5 changes: 5 additions & 0 deletions src/main/java/gkappa/wrapfix/mixin/MixinFontRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ private void wrapStringToWidthICU4J(String str, int wrapWidth, CallbackInfoRetur
prevFormat = format.length();
lineWidth = getCharWidth(current);
} else {
if (chars[icui] == '§') {
if (isFormatSpecial(chars[icui + 1]) || isFormatColor(chars[icui + 1])) {
icui++;
}
}
d = icui - fed;
list.add(line.substring(0, d + prevFormat));
temp = line.substring(d + prevFormat);
Expand Down

0 comments on commit 9f83ec7

Please sign in to comment.