diff --git a/res/main.properties b/res/main.properties index 070a1b35965..f555ace9100 100644 --- a/res/main.properties +++ b/res/main.properties @@ -1,6 +1,6 @@ program/mail=mtgerror@yahoo.com program/forum=http://www.slightlymagic.net/forum/viewforum.php?f=26 -program/version=Forge -- official beta: 10/01/17, SVN revision: 283 +program/version=Forge -- official beta: 10/01/17, SVN revision: 284 tokens--file=AllTokens.txt diff --git a/src/forge/GuiDisplayUtil.java b/src/forge/GuiDisplayUtil.java index 5aee8d1aa0b..1c05997d5fa 100644 --- a/src/forge/GuiDisplayUtil.java +++ b/src/forge/GuiDisplayUtil.java @@ -318,7 +318,7 @@ public class GuiDisplayUtil implements NewConstants { else loc = IMAGE_TOKEN; - String fileString = path + "\\" +ForgeProps.getFile(loc)+"\\" +filename; + String fileString = path + File.separator + ForgeProps.getFile(loc) + File.separator + filename; //System.out.println(fileString); File file = new File(fileString); @@ -349,7 +349,7 @@ public class GuiDisplayUtil implements NewConstants { else loc = IMAGE_TOKEN; - String fileString = ForgeProps.getFile(loc)+"\\" +filename; + String fileString = ForgeProps.getFile(loc) + File.separator + filename; try { BufferedInputStream is = new BufferedInputStream(new FileInputStream(fileString));