Skip to content

Commit

Permalink
Use blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 21, 2020
1 parent 6b0d99d commit 392daf6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public static void unescapeString(final StringBuilder stringBuilder, final Strin
+ "hex constant invalid", nfe);
}
stringBuilder.append((char) constant);
} else
} else {
switch (c) {
case '0':
case '1':
Expand Down Expand Up @@ -400,6 +400,7 @@ public static void unescapeString(final StringBuilder stringBuilder, final Strin
throw new ImageReadException("Parsing XPM file failed, "
+ "invalid escape sequence");
}
}
hadBackSlash = false;
} else {
if (c == '\\') {
Expand Down

0 comments on commit 392daf6

Please sign in to comment.