diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-01 19:52:18 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:13:00 +0200 |
commit | 4fc7f3b296d28337e741456cac5fec35d0d34864 (patch) | |
tree | 31856db1e3a6a4d8fc42fd100227cfad839d673f /libvo | |
parent | 1e159f4eccc9e8bbdbd5c01043cbd5c5d48485b3 (diff) | |
download | mpv-4fc7f3b296d28337e741456cac5fec35d0d34864.tar.bz2 mpv-4fc7f3b296d28337e741456cac5fec35d0d34864.tar.xz |
x11_common.c: Some indentation fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31602 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/x11_common.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index c6e8c9dbf0..b50f82a75e 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -156,7 +156,7 @@ static void vo_hidecursor(Display * disp, Window win) 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); @@ -388,8 +388,8 @@ int vo_init(struct vo *vo) XWindowAttributes attribs; char *dispName; - if (vo_rootwin) - WinID = 0; // use root window + if (vo_rootwin) + WinID = 0; // use root window if (x11->depthonscreen) { @@ -907,13 +907,13 @@ static void vo_x11_nofs_sizepos(struct vo *vo, int x, int y, } else { - vo->dwidth = width; - vo->dheight = height; - if (vo->opts->force_window_position) - XMoveResizeWindow(vo->x11->display, vo->x11->window, x, y, width, - height); - else - XResizeWindow(vo->x11->display, vo->x11->window, width, height); + vo->dwidth = width; + vo->dheight = height; + if (vo->opts->force_window_position) + XMoveResizeWindow(vo->x11->display, vo->x11->window, x, y, width, + height); + else + XResizeWindow(vo->x11->display, vo->x11->window, width, height); } } |