From b26adf95e874dab6b4c26127100e3487c996de3e Mon Sep 17 00:00:00 2001 From: Downforce Agent Date: Thu, 18 Jul 2024 22:40:30 -0500 Subject: [PATCH] fix previous commit --- firestar/src/main/java/Waldorf.java | 4 ++-- firestar/src/main/java/WilkinsCoffee.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firestar/src/main/java/Waldorf.java b/firestar/src/main/java/Waldorf.java index a321f34..cda1411 100644 --- a/firestar/src/main/java/Waldorf.java +++ b/firestar/src/main/java/Waldorf.java @@ -95,7 +95,7 @@ public class Waldorf implements ActionListener { frame.dispose(); } else if (actionEvent.getSource() == okbtn) { - Main.outpath = tOutPath+"/"; + Main.outpath = tOutPath; Main.checkUpdates = checkUpdatesToggle.isSelected(); Main.writeConf(); Main.loadConf(); @@ -159,7 +159,7 @@ public class Waldorf implements ActionListener { int result = fileChooser.showOpenDialog(frame); if (result == JFileChooser.APPROVE_OPTION) { if (fileChooser.getSelectedFile().isDirectory()) { - tOutPath = fileChooser.getSelectedFile().getAbsolutePath(); + tOutPath = fileChooser.getSelectedFile().getAbsolutePath()+"/"; fOutpath.setText(tOutPath); } } diff --git a/firestar/src/main/java/WilkinsCoffee.java b/firestar/src/main/java/WilkinsCoffee.java index 9524aff..a8fe946 100644 --- a/firestar/src/main/java/WilkinsCoffee.java +++ b/firestar/src/main/java/WilkinsCoffee.java @@ -159,7 +159,7 @@ public class WilkinsCoffee implements ActionListener { int result = fileChooser.showOpenDialog(frame); if (result == JFileChooser.APPROVE_OPTION) { if (fileChooser.getSelectedFile().isDirectory()) { - outPathTemp = fileChooser.getSelectedFile().getAbsolutePath(); + outPathTemp = fileChooser.getSelectedFile().getAbsolutePath()+"/"; pathDisplay.setText("Export path: " + outPathTemp); } }