Commit 5cdf4932 authored by Fredrik Hubinette's avatar Fredrik Hubinette Committed by Commit Bot

Fix SD slider reading in HD

A simple typo prevented this from working.
My manual testing didn't notice because the default value
matches my desktop.

Bug: 823547
Change-Id: I9a497380c17a85437b8486e0160f6df7a1429922
Reviewed-on: https://chromium-review.googlesource.com/1103231
Commit-Queue: Fredrik Hubinette <hubbe@chromium.org>
Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567831}
parent e27dda01
......@@ -80,8 +80,9 @@ bool GetPathInfo(HMONITOR monitor, DISPLAYCONFIG_PATH_INFO* path_info) {
do {
if (GetDisplayConfigBufferSizes(
QDC_ONLY_ACTIVE_PATHS, &num_path_array_elements,
&num_mode_info_array_elements) == ERROR_SUCCESS)
&num_mode_info_array_elements) != ERROR_SUCCESS) {
return false;
}
path_infos.resize(num_path_array_elements);
mode_infos.resize(num_mode_info_array_elements);
result = QueryDisplayConfig(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment