提交 ff2c7bd9 编写于 作者: M Manuel Kroeber

Fix for enum_monitors

Function enum_monitors would always stop after first found monitor due to wrong return value.
上级 fa1b9a90
......@@ -50,7 +50,7 @@ static BOOL CALLBACK enum_monitor(HMONITOR handle, HDC hdc, LPRECT rect,
UNUSED_PARAMETER(hdc);
UNUSED_PARAMETER(handle);
return (monitor->desired_id < monitor->cur_id++);
return (monitor->desired_id > monitor->cur_id++);
}
static void update_monitor(struct monitor_capture *capture,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册