Skip to content

Commit

Permalink
Remove error on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhutchings committed Sep 15, 2020
1 parent 367526b commit d2a716f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/qme/main/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit d2a716f

Please sign in to comment.