From 474252a7cb22cf85a0a5b2d2794fb0407396eba0 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sun, 8 Jul 2018 06:44:09 -0400 Subject: [PATCH] Fixed update box formating --- src/main/java/com/rarchives/ripme/ui/UpdateUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {