[vlc-commits] commit: Fixed coding style (window.c). (Laurent Aimar )

git at videolan.org git at videolan.org
Fri Nov 26 22:37:43 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Nov 13 22:30:18 2010 +0100| [83306b533fd201310d53e5d41b4146ead42dec48] | committer: Laurent Aimar 

Fixed coding style (window.c).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=83306b533fd201310d53e5d41b4146ead42dec48
---

 src/video_output/window.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/video_output/window.c b/src/video_output/window.c
index 51f2ce5..bcb08bc 100644
--- a/src/video_output/window.c
+++ b/src/video_output/window.c
@@ -87,11 +87,12 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
     }
 
     /* Hook for screensaver inhibition */
-    if ( var_InheritBool( obj, "disable-screensaver" ) && cfg->type == VOUT_WINDOW_TYPE_XID) {
-        w->inhibit = vlc_inhibit_Create (VLC_OBJECT (window),
-                                         window->handle.xid);
+    if (var_InheritBool(obj, "disable-screensaver") &&
+        cfg->type == VOUT_WINDOW_TYPE_XID) {
+        w->inhibit = vlc_inhibit_Create(VLC_OBJECT (window),
+                                        window->handle.xid);
         if (w->inhibit != NULL)
-            vlc_inhibit_Set (w->inhibit, true);
+            vlc_inhibit_Set(w->inhibit, true);
             /* FIXME: ^ wait for vout activation, pause */
     }
     else



More information about the vlc-commits mailing list