# HG changeset patch # User reimar # Date 1286631063 0 # Node ID c2370492acbcd4373e2053529cf8b501455152a5 # Parent 5471c2bb7a2bd8bc98335eaf31044068b3256801 Fix indentation. diff -r 5471c2bb7a2b -r c2370492acbc libvo/vo_dxr3.c --- a/libvo/vo_dxr3.c Sat Oct 09 13:29:25 2010 +0000 +++ b/libvo/vo_dxr3.c Sat Oct 09 13:31:03 2010 +0000 @@ -502,19 +502,19 @@ if (use_gui) guiGetEvent(guiSetShVideo, 0); #endif - XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay), &xwin_attribs); - depth = xwin_attribs.depth; - if (depth != 15 && depth != 16 && depth != 24 && depth != 32) { - depth = 24; - } - XMatchVisualInfo(mDisplay, mScreen, depth, TrueColor, &vinfo); - vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, - d_width, d_height, flags, - CopyFromParent, "Viewing Window", title); - xswa.background_pixel = KEY_COLOR; - xswa.border_pixel = 0; - xswamask = CWBackPixel | CWBorderPixel; - XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa); + XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay), &xwin_attribs); + depth = xwin_attribs.depth; + if (depth != 15 && depth != 16 && depth != 24 && depth != 32) { + depth = 24; + } + XMatchVisualInfo(mDisplay, mScreen, depth, TrueColor, &vinfo); + vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, + d_width, d_height, flags, + CopyFromParent, "Viewing Window", title); + xswa.background_pixel = KEY_COLOR; + xswa.border_pixel = 0; + xswamask = CWBackPixel | CWBorderPixel; + XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa); /* Start setting up overlay */ XGetWindowAttributes(mDisplay, mRootWin, &xwin_attribs); @@ -696,7 +696,7 @@ overlay_set_mode(overlay_data, EM8300_OVERLAY_MODE_OFF); overlay_release(overlay_data); - vo_x11_uninit(); + vo_x11_uninit(); } #endif if (old_vmode != -1) { @@ -871,10 +871,10 @@ /* Initialize overlay and X11 */ overlay_data = overlay_init(fd_control); - if (!vo_init()) { - mp_msg(MSGT_VO,MSGL_ERR, MSGTR_LIBVO_DXR3_UnableToInitX11); - return -1; - } + if (!vo_init()) { + mp_msg(MSGT_VO,MSGL_ERR, MSGTR_LIBVO_DXR3_UnableToInitX11); + return -1; + } } #endif