Skip to content

Commit

Permalink
fixes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenArzt committed Aug 29, 2022
1 parent 759611d commit 97656d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pxb/android/StringItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public int getSize() {

public void prepare() throws IOException {
for (StringItem s : this) {
if (s.data.length() > 0x7FFF) {
if (s.data != null && s.data.length() > 0x7FFF) {
useUTF8 = false;
}
}
Expand Down

0 comments on commit 97656d7

Please sign in to comment.