浏览代码

fix typo

(cherry picked from commit aa299226c662bc7f1c1860d6e9afe9fe2abc0a4a)
Felix Paul Kühne 10 年之前
父节点
当前提交
87ea80fc0f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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];