Skip to content

Commit 13d6cd7

Browse files
committed
uses absolute file name if only the name is given via the command line; closes #941
1 parent b44c92e commit 13d6cd7

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/de/neemann/digital/gui

1 file changed

+1
-1
lines changed

src/main/java/de/neemann/digital/gui/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@ public static void main(String[] args) {
21152115
else if (s.trim().length() > 0) {
21162116
File f = new File(s);
21172117
if (f.exists())
2118-
file = f;
2118+
file = f.getAbsoluteFile();
21192119
}
21202120
}
21212121

0 commit comments

Comments
 (0)