Commit f8db06d3 authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

macosx: fixed broken appearance of the main window in case it is linked...

macosx: fixed broken appearance of the main window in case it is linked against the 10.7 SDK but run on OS X 10.6
(cherry picked from commit 4a646775)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e27ad0a4
......@@ -75,7 +75,10 @@ static VLCMainWindow *_o_sharedInstance = nil;
if (b_dark_interface)
{
#ifdef MAC_OS_X_VERSION_10_7
styleMask = NSBorderlessWindowMask | NSResizableWindowMask;
if (OSX_LION)
styleMask = NSBorderlessWindowMask | NSResizableWindowMask;
else
styleMask = NSBorderlessWindowMask;
#else
styleMask = NSBorderlessWindowMask;
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment