small fixes, error handling

This commit is contained in:
Honfika
2013-11-13 20:48:53 +01:00
parent 3af6b0f535
commit 19525c8fc7
7 changed files with 18 additions and 5 deletions

View File

@@ -349,6 +349,8 @@ public class Main {
public static boolean openFile(String swfFile) {
try {
File file = new File(swfFile);
swfFile = file.getCanonicalPath();
Configuration.addRecentFile(swfFile);
boolean ok = openFile(swfFile, new FileInputStream(swfFile));
if (ok) {