diff options
author | runge <runge> | 2007-12-16 18:32:19 +0000 |
---|---|---|
committer | runge <runge> | 2007-12-16 18:32:19 +0000 |
commit | 899c920eb4708e525c6555e2a6f043c3f999bbcb (patch) | |
tree | a9f7f19ba7e01ac0b16fd0c726b1eca7d08320bf /x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc_cmd | |
parent | 3d0bd73627f7aa19d45488eeee49781ca9faa0f8 (diff) | |
download | libtdevnc-899c920eb4708e525c6555e2a6f043c3f999bbcb.tar.gz libtdevnc-899c920eb4708e525c6555e2a6f043c3f999bbcb.zip |
Fixes for MacOSX 10.5. Improve usage of x11 viewer on macosx.
Diffstat (limited to 'x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc_cmd')
-rwxr-xr-x | x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc_cmd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc_cmd b/x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc_cmd index dde977b..cd73610 100755 --- a/x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc_cmd +++ b/x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc_cmd @@ -111,7 +111,7 @@ use_ours=0 if [ "X$VNCVIEWERCMD" = "X" ]; then VNCVIEWERCMD="vncviewer" export VNCVIEWERCMD - if [ "X$DARWIN_COTVNC" = "X" ]; then + if [ "X$DARWIN_COTVNC" != "X1" ]; then use_ours=1 fi fi @@ -183,7 +183,7 @@ else export SSVNC_VIEWER_INTERNAL fi -if [ "X$DARWIN_COTVNC" = "X" -a "X$VNCVIEWERCMD" = "Xvncviewer" ]; then +if [ "X$DARWIN_COTVNC" != "X1" -a "X$VNCVIEWERCMD" = "Xvncviewer" ]; then hstr=`$VNCVIEWERCMD -h 2>&1 | head -5` if echo "$hstr" | grep '^TightVNC.*version 1\.[23]' > /dev/null; then # we need to avoid raw encoding |