Commit 4a646775 authored by Felix Paul Kühne's avatar Felix Paul Kühne

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
parent 0c7696c1
......@@ -75,7 +75,10 @@ static VLCMainWindow *_o_sharedInstance = nil;
if (b_dark_interface)
{
#ifdef MAC_OS_X_VERSION_10_7
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