From d2a716f34c0b83eea53d4594bc5828b872d67277 Mon Sep 17 00:00:00 2001 From: adamhutchings Date: Mon, 14 Sep 2020 20:52:12 -0700 Subject: [PATCH] Remove error on Windows --- src/org/qme/main/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/qme/main/Main.java b/src/org/qme/main/Main.java index b4408261..42626da4 100644 --- a/src/org/qme/main/Main.java +++ b/src/org/qme/main/Main.java @@ -55,7 +55,7 @@ public static void main(String[] args) throws InterruptedException { FileOutputStream errors = new FileOutputStream(ERROR_LOG); System.setErr(new PrintStream(errors)); } catch(IOException e) { - JOptionPane.showMessageDialog(null, "The file " + System.getProperty("user.dir") + "/" + ERROR_LOG + " does not exist. Please create it."); + JOptionPane.showMessageDialog(null, "The file " + System.getProperty("user.dir") + System.getProperty("file.separator") + ERROR_LOG + " does not exist. Please create it."); System.exit(0); }