Revision: 4445
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4445&view=rev
Author:   bphinz
Date:     2011-05-25 20:11:21 +0000 (Wed, 25 May 2011)

Log Message:
-----------
[java viewer] fixed incorrect offset value in custom compression setting from 
gui. also fixed typo in makefile.

Modified Paths:
--------------
    trunk/java/src/com/tigervnc/vncviewer/CConn.java

Modified: trunk/java/src/com/tigervnc/vncviewer/CConn.java
===================================================================
--- trunk/java/src/com/tigervnc/vncviewer/CConn.java    2011-05-24 12:47:12 UTC 
(rev 4444)
+++ trunk/java/src/com/tigervnc/vncviewer/CConn.java    2011-05-25 20:11:21 UTC 
(rev 4445)
@@ -658,10 +658,10 @@
     options.raw.setSelected(currentEncoding == Encodings.encodingRaw);
 
     
options.customCompressLevel.setSelected(viewer.customCompressLevel.getValue());
-    digit = -1 + viewer.compressLevel.getValue();
+    digit = 0 + viewer.compressLevel.getValue();
     options.compressLevel.setSelectedIndex(digit);
     options.noJpeg.setSelected(!viewer.noJpeg.getValue());
-    digit = -1 + viewer.qualityLevel.getValue();
+    digit = 0 + viewer.qualityLevel.getValue();
     options.qualityLevel.setSelectedIndex(digit);
 
     options.viewOnly.setSelected(viewer.viewOnly.getValue());


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to