Skip to content

Commit

Permalink
Debug in dumb way
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Apr 2, 2024
1 parent 6e0942b commit 53fdff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gkappa/wrapfix/mixin/MixinFontRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private void wrapStringToWidthICU4J(String str, int wrapWidth, CallbackInfoRetur
lineWidth = getCharWidth(current);
} else {
d = icui - fed;
if (line.charAt(d + prevFormat) == '§') WrapFix.logger.info("{} {} {}", line, d + prevFormat, list);
if (line.charAt(d + prevFormat - 1) == '§') WrapFix.logger.info("{} {} {}", line, d + prevFormat, list.toString());
list.add(line.substring(0, d + prevFormat));
temp = line.substring(d + prevFormat);
fed = icui;
Expand Down

0 comments on commit 53fdff4

Please sign in to comment.