mirror of
https://github.com/akatrevorjay/edid-generator.git
synced 2026-01-15 23:50:28 +01:00
fix [-+][hv]sync handling
This commit is contained in:
@@ -48,8 +48,8 @@ template-S() {
|
||||
local arg
|
||||
for arg in "$@"; do
|
||||
case "${(L)arg}" in
|
||||
[-+]hsync) [[ "${arg:1:1}" == "-" ]] || hsync_polarity=1 ;;
|
||||
[-+]vsync) [[ "${arg:1:1}" == "-" ]] || vsync_polarity=1 ;;
|
||||
[-+]hsync) [[ "${arg:0:1}" == "-" ]] || hsync_polarity=1 ;;
|
||||
[-+]vsync) [[ "${arg:0:1}" == "-" ]] || vsync_polarity=1 ;;
|
||||
ratio=*|xy_ratio=*) ratio="${arg#*=}" ;;
|
||||
dpi=*) dpi="${arg#*=}" ;;
|
||||
edid_version=*) edid_version="${arg#*=}" ;;
|
||||
|
||||
Reference in New Issue
Block a user