diff options
author | wm4 <wm4@nowhere> | 2014-05-09 21:49:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-10 10:44:15 +0200 |
commit | 6e838648238bd3afbc1b38641e6d875b0e2679ec (patch) | |
tree | abcd201266ed2580cf73a7629722bc720e055301 /video | |
parent | fc4a43d39aabcb6996b60d80015f9f6aa278132f (diff) |
w32_common: fix typo
Also, reset rc completely, instead of assuming things.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/w32_common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 6588ac7573..96e8c69702 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -718,8 +718,9 @@ static void w32_update_xinerama_info(struct vo *vo) GetSystemMetrics(SM_CYVIRTUALSCREEN), }; if (!rc.x1 || !rc.y1) { - rc.x1 = w32->screenrc.x1; // assume screenrc.x0==y0==0 - rc.x1 = w32->screenrc.y1; + rc.x0 = rc.y0 = 0; + rc.x1 = w32->screenrc.x1; + rc.y1 = w32->screenrc.y1; } rc.x1 += rc.x0; rc.y1 += rc.y0; |