Commit 7de6bb8d authored by Dylan Araps's avatar Dylan Araps

resolution: Fix truncation of drm modes. Closes #1639

parent 64dd7b68
......@@ -3047,7 +3047,8 @@ get_resolution() {
;;
esac
resolution="${resolution%,*}"
resolution="${resolution%%,}"
resolution="${resolution%%, }"
[[ -z "${resolution/x}" ]] && resolution=
}
......
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