diff --git a/src/fr/devinsy/xidyn/presenters/FilePresenter.java b/src/fr/devinsy/xidyn/presenters/FilePresenter.java index 35be10f..5601271 100644 --- a/src/fr/devinsy/xidyn/presenters/FilePresenter.java +++ b/src/fr/devinsy/xidyn/presenters/FilePresenter.java @@ -77,7 +77,7 @@ public class FilePresenter implements Presenter // Get the good tree. File source; - if (this.sourceFilePathname.matches(".+://.+")) + if (this.sourceFilePathname.matches("file://.+")) { source = new File(new URI(this.sourceFilePathname)); }