Skip to content

Commit

Permalink
Merge branch 'dev' into jitpack-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Titov committed Apr 24, 2020
2 parents 62ea4e0 + cdcd812 commit 5b58791
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ private String generateFileName(ChosenFile file) throws PickerException {
counter++;
if (fileName.contains(".")) {
int indexOfDot = fileName.lastIndexOf(".");
probableFileName = fileName.substring(0, indexOfDot - 1) + "-" + counter + "." + fileName.substring(indexOfDot + 1);
probableFileName = fileName.substring(0, indexOfDot) + "-" + counter + "." + fileName.substring(indexOfDot + 1);
} else {
probableFileName = fileName + "(" + counter + ")";
}
Expand Down

0 comments on commit 5b58791

Please sign in to comment.