Browse Source

fix typo

(cherry picked from commit aa299226c662bc7f1c1860d6e9afe9fe2abc0a4a)
Felix Paul Kühne 10 years ago
parent
commit
87ea80fc0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCPlaybackController+MediaLibrary.m

+ 1 - 1
Sources/VLCPlaybackController+MediaLibrary.m

@@ -54,7 +54,7 @@
     NSMutableArray *files = [NSMutableArray arrayWithCapacity:episodes.count];
     for (MLShowEpisode *episode in episodes) {
         MLFile *file = episode.files.anyObject;
-        if (files)
+        if (file)
             [files addObject:file];
     }
     int index = (int)[episodes indexOfObject:showEpisode];