From 53924b739fe54b06449a6ab910f720deb2a71324 Mon Sep 17 00:00:00 2001 From: "xiaozhuai, Weihang Ding" <798047000@qq.com> Date: Tue, 2 Mar 2021 14:11:59 +0800 Subject: [PATCH] fix #172 --- hidpi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hidpi.sh b/hidpi.sh index 4d2c406..284a106 100755 --- a/hidpi.sh +++ b/hidpi.sh @@ -102,7 +102,7 @@ function get_edid() { let index++ MonitorName=("$(echo ${display:190:24} | xxd -p -r)") VendorID=${display:16:4} - ProductID=${gMonitor:22:2}${gMonitor:20:2} + ProductID=${display:22:2}${display:20:2} if [[ ${VendorID} == 0610 ]]; then MonitorName="Apple Display"