From: Felix Paul Kühne Date: Mon, 20 Jun 2005 21:09:46 +0000 (+0000) Subject: * fix another resize-bug introduced in [11440] (refs #210) X-Git-Tag: 0.8.2~27 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1bd45f1e49a21f57e9ce07857811776b54cb6601;p=vlc * fix another resize-bug introduced in [11440] (refs #210) --- diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index 851e2f8d19..7cde3065a2 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -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; }