1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

cosmetics: fix indentation

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26439 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
attila 2008-04-13 11:15:08 +00:00
parent f5ccd50211
commit d08bf2fc44

View File

@ -379,14 +379,14 @@ void update_xinerama_info(void) {
int num_screens;
screens = XineramaQueryScreens(mDisplay, &num_screens);
for (screen = num_screens - 1; screen > 0; screen--) {
int left = screens[screen].x_org;
int right = left + screens[screen].width;
int top = screens[screen].y_org;
int bottom = top + screens[screen].height;
if (left <= x && x <= right && top <= y && y <= bottom)
break;
}
for (screen = num_screens - 1; screen > 0; screen--) {
int left = screens[screen].x_org;
int right = left + screens[screen].width;
int top = screens[screen].y_org;
int bottom = top + screens[screen].height;
if (left <= x && x <= right && top <= y && y <= bottom)
break;
}
if (screen < 0)
screen = 0;
vo_screenwidth = screens[screen].width;