diff --git a/MacDown/Code/Application/MPMainController.m b/MacDown/Code/Application/MPMainController.m index 14680ad0..085afe81 100644 --- a/MacDown/Code/Application/MPMainController.m +++ b/MacDown/Code/Application/MPMainController.m @@ -212,7 +212,7 @@ - (void)openPendingFiles NSDocumentController *c = [NSDocumentController sharedDocumentController]; for (NSString *path in self.prefereces.filesToOpenOnNextLaunch) { - NSURL *url = [NSURL URLWithString:path]; + NSURL *url = [NSURL fileURLWithPath:path]; if ([url checkResourceIsReachableAndReturnError:NULL]) { [c openDocumentWithContentsOfURL:url display:YES