[vlc-commits] macosx/playlist controller: cosmetics

Felix Paul Kühne git at videolan.org
Fri May 31 18:59:16 CEST 2019


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Fri May 31 18:45:56 2019 +0200| [c829e34b19705b3c3b1fa2f39270eaf4823a6ab6] | committer: Felix Paul Kühne

macosx/playlist controller: cosmetics

self is implicitly retained by the block. Mention it to indicate that this the intended behavior

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c829e34b19705b3c3b1fa2f39270eaf4823a6ab6
---

 modules/gui/macosx/playlist/VLCPlaylistController.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/playlist/VLCPlaylistController.m b/modules/gui/macosx/playlist/VLCPlaylistController.m
index 1366004983..a65c044e83 100644
--- a/modules/gui/macosx/playlist/VLCPlaylistController.m
+++ b/modules/gui/macosx/playlist/VLCPlaylistController.m
@@ -403,7 +403,7 @@ static const struct vlc_playlist_callbacks playlist_callbacks = {
     __block vlc_playlist_item_t **items = calloc(indexes.count, sizeof(vlc_playlist_item_t *));
     __block NSUInteger pos = 0;
     [indexes enumerateIndexesUsingBlock:^(NSUInteger idx, BOOL * _Nonnull stop) {
-        VLCPlaylistItem *item = [_playlistModel playlistItemAtIndex:idx];
+        VLCPlaylistItem *item = [self->_playlistModel playlistItemAtIndex:idx];
         items[pos++] = item.playlistItem;
     }];
 



More information about the vlc-commits mailing list