]> git.sesse.net Git - vlc/commitdiff
macosx: Fix a typo that leads to a crash in _removeOldPreferences.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 27 Sep 2008 11:18:40 +0000 (13:18 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 27 Sep 2008 11:20:35 +0000 (13:20 +0200)
modules/gui/macosx/intf.m

index 8a6244836a29c80fcb07497e003b2d8b8b0ec108..84de1543babfdfd7794abba8c802a233e67c3146 100644 (file)
@@ -2292,7 +2292,7 @@ end:
         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 */
     [[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:preferences destination:nil files:ourPreferences tag:0];