From 2a2a7bb577da360e2a6635fce809823c80f900b6 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Fri, 6 May 2016 14:48:36 +0300 Subject: [PATCH] Fix mistake in TightEncoder::setCompressLevel. --- common/rfb/TightEncoder.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5