diff --git a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java index ec623538..484d23f3 100644 --- a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java +++ b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java @@ -128,9 +128,9 @@ public class UpdateUtils { logger.info("Found newer version: " + latestVersion); int result = JOptionPane.showConfirmDialog( null, - "New version (" + latestVersion + ") is available!" - + "

Recent changes:" + changeList - + "

Do you want to download and run the newest version?", + String.format("New version (%s) is available!" + + "

Recent changes: %s" + + "

Do you want to download and run the newest version?", latestVersion, changeList.replaceAll("\n", "")), "RipMe Updater", JOptionPane.YES_NO_OPTION); if (result != JOptionPane.YES_OPTION) {