diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2012-07-24 08:47:29 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2012-07-24 08:47:29 -0700 |
commit | bfed997da5f083e3ddfbda440e114d1261d18b14 (patch) | |
tree | f8718a62134f896752e771ff2065899bac62a91c /startx.cpp | |
parent | 8156aad786754499f4636104aa5bd8a27a281448 (diff) |
XQuartz: Fix an issue where -dpi was not being passed to the server despite being set
For some reason 'defaults' sometimes shows dpi in quotes and sometimes
doesn't.
Regression-from: 335937217a51e5e159a14463e0b1e3aedf35c6be
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'startx.cpp')
-rw-r--r-- | startx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ fi XCOMM The second check is the real one. The first is to hopefully avoid XCOMM needless syslog spamming. -if defaults read $X11_PREFS_DOMAIN 2> /dev/null | grep -q '"dpi"' && defaults read $X11_PREFS_DOMAIN dpi > /dev/null 2>&1 ; then +if defaults read $X11_PREFS_DOMAIN 2> /dev/null | grep -q 'dpi' && defaults read $X11_PREFS_DOMAIN dpi > /dev/null 2>&1 ; then defaultserverargs="$defaultserverargs -dpi `defaults read $X11_PREFS_DOMAIN dpi`" fi |