]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/open.m
* remove/disable the update-checker on OSX until 0.8.4 is out
[vlc] / modules / gui / macosx / open.m
index aad5cac01e1a6afa5bd15f74f11fc69a293d0b70..1a5cc4ad8df30f984ef7d97432f3c191437b39ea 100644 (file)
@@ -81,7 +81,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
     p_list = [NSMutableArray arrayWithCapacity: 1];
     
     next_media = IOIteratorNext( media_iterator );
-    if( next_media != NULL )
+    if( next_media != nil )
     {
         char psz_buf[0x32];
         size_t dev_path_length;
@@ -114,7 +114,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
             
             IOObjectRelease( next_media );
         
-        } while( ( next_media = IOIteratorNext( media_iterator ) ) != NULL );
+        } while( ( next_media = IOIteratorNext( media_iterator ) ) != nil );
     }
     
     IOObjectRelease( media_iterator );