Skip to content

Commit

Permalink
Fix an actual minor bug (never encountered but legit) as per lgtm.com…
Browse files Browse the repository at this point in the history
… warning
  • Loading branch information
cowtowncoder committed Nov 20, 2021
1 parent d20262c commit 2b597bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/ctc/wstx/dtd/FullDTDReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -2360,7 +2360,7 @@ private void handleEntityDecl(boolean suppressPEDecl)
char d = dtdNextIfAvailable();
if (d == CHAR_NULL || isSpaceChar(d)) { // ok, PE declaration
isParam = true;
if (d == '\n' || c == '\r') {
if (d == '\n' || d == '\r') {
skipCRLF(d);
}
break;
Expand Down

0 comments on commit 2b597bc

Please sign in to comment.