[MPlayer-cvslog] r38346 - trunk/libvo/osx_objc_common.m

reimar subversion at mplayerhq.hu
Sat Feb 26 14:06:47 EET 2022


Author: reimar
Date: Sat Feb 26 14:06:47 2022
New Revision: 38346

Log:
osx_objc_common: fix indentation.

Modified:
   trunk/libvo/osx_objc_common.m

Modified: trunk/libvo/osx_objc_common.m
==============================================================================
--- trunk/libvo/osx_objc_common.m	Sat Feb 26 14:05:53 2022	(r38345)
+++ trunk/libvo/osx_objc_common.m	Sat Feb 26 14:06:47 2022	(r38346)
@@ -507,16 +507,16 @@ void vo_osx_swap_buffers(void)
 	event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSEventTrackingRunLoopMode dequeue:YES];
 	while (event != nil)
 	{
-	[NSApp sendEvent:event];
-	// Without SDL's bootstrap code (include SDL.h in mplayer.c),
-	// on Leopard, we have trouble to get the play window automatically focused
-	// when the app is actived. The Following code fix this problem.
+		[NSApp sendEvent:event];
+		// Without SDL's bootstrap code (include SDL.h in mplayer.c),
+		// on Leopard, we have trouble to get the play window automatically focused
+		// when the app is actived. The Following code fix this problem.
 #ifndef CONFIG_SDL
-	if (isLeopardOrLater && [event type] == NSAppKitDefined
-			&& [event subtype] == NSApplicationActivatedEventType) {
-		[window makeMainWindow];
-		[window makeKeyAndOrderFront:self];
-	}
+		if (isLeopardOrLater && [event type] == NSAppKitDefined
+				&& [event subtype] == NSApplicationActivatedEventType) {
+			[window makeMainWindow];
+			[window makeKeyAndOrderFront:self];
+		}
 #endif
 		event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSEventTrackingRunLoopMode dequeue:YES];
 	}


More information about the MPlayer-cvslog mailing list