]> git.sesse.net Git - vlc/commitdiff
* fix another resize-bug introduced in [11440] (refs #210)
authorFelix Paul Kühne <fkuehne@videolan.org>
Mon, 20 Jun 2005 21:09:46 +0000 (21:09 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Mon, 20 Jun 2005 21:09:46 +0000 (21:09 +0000)
modules/gui/macosx/intf.m

index 851e2f8d197b80d94ec4534d25394c0e2fdcd954..7cde3065a250c7cc5ca61bcf59a68ba05a4e8043 100644 (file)
@@ -1553,14 +1553,14 @@ static VLCMain *_o_sharedMainInstance = nil;
         if ( o_size_with_playlist.height > 200 )
         {
             o_rect.size.height = o_size_with_playlist.height;
-        }
-        else
-        {
+        } else {
             o_rect.size.height = 500;
         }
         
-        if ( o_rect.size.width == [o_window minSize].width )
+        if ( o_size_with_playlist.width > [o_window minSize].width )
         {
+            o_rect.size.width = o_size_with_playlist.width;
+        } else {
             o_rect.size.width = 500;
         }