changeset 31536:96d04730232f

Some indentation fixes.
author reimar
date Thu, 01 Jul 2010 19:52:18 +0000
parents 749835ce19dc
children 8e5ba4ae7c36
files libvo/x11_common.c
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Thu Jul 01 19:48:00 2010 +0000
+++ b/libvo/x11_common.c	Thu Jul 01 19:52:18 2010 +0000
@@ -191,7 +191,7 @@
     colormap = DefaultColormap(disp, DefaultScreen(disp));
     if ( !XAllocNamedColor(disp, colormap, "black", &black, &dummy) )
     {
-      return; // color alloc failed, give up
+        return; // color alloc failed, give up
     }
     bm_no = XCreateBitmapFromData(disp, win, bm_no_data, 8, 8);
     no_ptr = XCreatePixmapCursor(disp, bm_no, bm_no, &black, &black, 0, 0);
@@ -416,8 +416,8 @@
     XWindowAttributes attribs;
     char *dispName;
 
-	if (vo_rootwin)
-		WinID = 0; // use root window
+    if (vo_rootwin)
+        WinID = 0; // use root window
 
     if (vo_depthonscreen)
     {
@@ -947,9 +947,9 @@
   }
   else
   {
-   vo_dwidth = width;
-   vo_dheight = height;
-   XMoveResizeWindow(mDisplay, vo_window, x, y, width, height);
+    vo_dwidth = width;
+    vo_dheight = height;
+    XMoveResizeWindow(mDisplay, vo_window, x, y, width, height);
   }
 }
 
@@ -1084,10 +1084,10 @@
     }
     if (WinID) vo_x11_update_geometry();
     else
-        // Do not capture events since it might break the parent application
-        // if it relies on events being forwarded to the parent of WinID.
-        // It also is consistent with the w32_common.c code.
-    vo_x11_selectinput_witherr(mDisplay, vo_window,
+      // Do not capture events since it might break the parent application
+      // if it relies on events being forwarded to the parent of WinID.
+      // It also is consistent with the w32_common.c code.
+      vo_x11_selectinput_witherr(mDisplay, vo_window,
           StructureNotifyMask | KeyPressMask | PointerMotionMask |
           ButtonPressMask | ButtonReleaseMask | ExposureMask);
     goto final;