]> git.sesse.net Git - vlc/commitdiff
Do not use setTitleWithRepresentedFilename if input is not a file.
authorJérome Decoodt <djc@videolan.org>
Mon, 21 Feb 2005 16:12:14 +0000 (16:12 +0000)
committerJérome Decoodt <djc@videolan.org>
Mon, 21 Feb 2005 16:12:14 +0000 (16:12 +0000)
modules/gui/macosx/vout.m

index e372ca35600f3efd6a08fc645c17f72839504ca3..5813dcb9ddd2cbd51035c9d795b006e8d7980fc5 100644 (file)
         if( prefix_range.location != NSNotFound )
         {
             [o_title deleteCharactersInRange: prefix_range];
+            [self setTitleWithRepresentedFilename: o_title];
         }
-
-        [self setTitleWithRepresentedFilename: o_title];
+            [self setTitle: o_title];
     }
     else
     {