Commit 63529dde authored by Dylan Araps's avatar Dylan Araps

Resolution: blank resolution on Windows

parent 180d5b32
...@@ -1266,7 +1266,7 @@ get_resolution() { ...@@ -1266,7 +1266,7 @@ get_resolution() {
height="$(wmic path Win32_VideoController get CurrentVerticalResolution /value)" height="$(wmic path Win32_VideoController get CurrentVerticalResolution /value)"
height="${height//CurrentVerticalResolution'='/}" height="${height//CurrentVerticalResolution'='/}"
[[ "$width" ]] && resolution="${width}x${height}" [[ "$(trim "$width")" ]] && resolution="${width}x${height}"
;; ;;
"Haiku") "Haiku")
......
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