Commit 5a51e598 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Fix a typo that leads to a crash in _removeOldPreferences.

(cherry picked from commit 5cd368bc)
parent 73408b1e
...@@ -2255,7 +2255,7 @@ end: ...@@ -2255,7 +2255,7 @@ end:
return; return;
} }
NSArray * ourPreferences = [NSArray arrayWithObjects:@"org.videolan.vlc.plist", @"VLC"]; NSArray * ourPreferences = [NSArray arrayWithObjects:@"org.videolan.vlc.plist", @"VLC", nil];
/* Move the file to trash so that user can find them later */ /* Move the file to trash so that user can find them later */
[[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:preferences destination:nil files:ourPreferences tag:0]; [[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:preferences destination:nil files:ourPreferences tag:0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment