Skip to content

Commit

Permalink
Fix protection of no-extension file names
Browse files Browse the repository at this point in the history
  • Loading branch information
REAndroid committed Oct 21, 2024
1 parent 44fd18b commit c496afa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private static String replaceSimpleName(String path, String symbol) {
i = simpleName.lastIndexOf('.');
String ext;
if (i < 0) {
ext = "";
ext = ".";
} else {
if (simpleName.endsWith(".9.png")) {
ext = ".9.png";
Expand Down

0 comments on commit c496afa

Please sign in to comment.