We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cba8516 commit 8e1fb45Copy full SHA for 8e1fb45
MacDown/Code/Application/MPMainController.m
@@ -212,7 +212,7 @@ - (void)openPendingFiles
212
NSDocumentController *c = [NSDocumentController sharedDocumentController];
213
for (NSString *path in self.prefereces.filesToOpenOnNextLaunch)
214
{
215
- NSURL *url = [NSURL URLWithString:path];
+ NSURL *url = [NSURL fileURLWithPath:path];
216
if ([url checkResourceIsReachableAndReturnError:NULL])
217
218
[c openDocumentWithContentsOfURL:url display:YES
0 commit comments