diff options
author | Samuel Mannehed <samuel@cendio.se> | 2019-12-20 16:06:48 +0100 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2019-12-20 16:06:48 +0100 |
commit | c2184f9bf38ebb5d63a7d12f1638b1018887725d (patch) | |
tree | ca6b72d829adfec61f16da59750dd26e4db13e73 /java/com | |
parent | 4e61f8dbc51f83b1d71319b763fbd4d916d13e98 (diff) | |
download | tigervnc-c2184f9bf38ebb5d63a7d12f1638b1018887725d.tar.gz tigervnc-c2184f9bf38ebb5d63a7d12f1638b1018887725d.zip |
Use the correct minimum value for compression lvl
There was even some confusion in the RFB protocol regarding this, but
the zlib implementation confirms that accepted values for compression
level is 0-9.
Diffstat (limited to 'java/com')
-rw-r--r-- | java/com/tigervnc/vncviewer/OptionsDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/vncviewer/OptionsDialog.java b/java/com/tigervnc/vncviewer/OptionsDialog.java index fa22a4f0..b245be93 100644 --- a/java/com/tigervnc/vncviewer/OptionsDialog.java +++ b/java/com/tigervnc/vncviewer/OptionsDialog.java @@ -691,7 +691,7 @@ class OptionsDialog extends Dialog { compressionInput.setPrototypeDisplayValue("0."); compressionInput.setEditable(true); JLabel compressionLabel = - new JLabel("Level (1=fast, 9=best)"); + new JLabel("Level (0=fast, 9=best)"); jpegCheckbox = new JCheckBox("Allow JPEG Compression"); jpegCheckbox.addItemListener(new ItemListener() { public void itemStateChanged(ItemEvent e) { |