Skip to content

Commit

Permalink
Another conditional was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMil committed Nov 13, 2024
1 parent 34a74aa commit 373efd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pxb/android/axml/AxmlParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public String getNamespacePrefix() {
}

public String getNamespaceUri() {
if (nsIdx < 0 && nsIdx < strings.length) {
if (nsIdx >= 0 && nsIdx < strings.length) {
return strings[nsIdx];
}
return null;
Expand Down

0 comments on commit 373efd5

Please sign in to comment.