summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Srb <michalsrb@gmail.com>2016-05-06 14:48:36 +0300
committerMichal Srb <michalsrb@gmail.com>2016-05-06 14:48:36 +0300
commit2a2a7bb577da360e2a6635fce809823c80f900b6 (patch)
treebf809d7145fe904a4bdecb2e574108cad5068b96
parent9927d25316f7e56e5ce5083d19e638214a57fdfd (diff)
downloadtigervnc-2a2a7bb577da360e2a6635fce809823c80f900b6.tar.gz
tigervnc-2a2a7bb577da360e2a6635fce809823c80f900b6.zip
Fix mistake in TightEncoder::setCompressLevel.
-rw-r--r--common/rfb/TightEncoder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/TightEncoder.cxx b/common/rfb/TightEncoder.cxx
index fe2470b9..0d428f16 100644
--- a/common/rfb/TightEncoder.cxx
+++ b/common/rfb/TightEncoder.cxx
@@ -77,7 +77,7 @@ void TightEncoder::setCompressLevel(int level)
level = 2;
idxZlibLevel = conf[level].idxZlibLevel;
- monoZlibLevel = conf[level].idxZlibLevel;
+ monoZlibLevel = conf[level].monoZlibLevel;
rawZlibLevel = conf[level].rawZlibLevel;
}