]> source.dussan.org Git - tigervnc.git/commitdiff
Use the correct maximum value for compression lvl
authorSamuel Mannehed <samuel@cendio.se>
Fri, 20 Dec 2019 14:25:53 +0000 (15:25 +0100)
committerSamuel Mannehed <samuel@cendio.se>
Fri, 20 Dec 2019 14:25:53 +0000 (15:25 +0100)
The GUI incorrectly noted the max level to be 6 while it in fact is 9.

java/com/tigervnc/vncviewer/OptionsDialog.java
vncviewer/OptionsDialog.cxx

index e15415c1419f837b987b8583b4e1022e324c689b..fa22a4f01b9c9cf9bb42d94063f2566c5862a3e2 100644 (file)
@@ -691,7 +691,7 @@ class OptionsDialog extends Dialog {
     compressionInput.setPrototypeDisplayValue("0.");
     compressionInput.setEditable(true);
     JLabel compressionLabel =
-      new JLabel("Level (1=fast, 6=best)");
+      new JLabel("Level (1=fast, 9=best)");
     jpegCheckbox = new JCheckBox("Allow JPEG Compression");
     jpegCheckbox.addItemListener(new ItemListener() {
       public void itemStateChanged(ItemEvent e) {
index 3c7d67037be1e8b655746428bb706d93ae2ace8d..f03f7dbd055eff187324a08e6136f3cd6ff1a1e5 100644 (file)
@@ -551,7 +551,7 @@ void OptionsDialog::createCompressionPage(int tx, int ty, int tw, int th)
 
   compressionInput = new Fl_Int_Input(tx + INDENT, ty,
                                       INPUT_HEIGHT, INPUT_HEIGHT,
-                                      _("level (1=fast, 6=best)"));
+                                      _("level (1=fast, 9=best)"));
   compressionInput->align(FL_ALIGN_RIGHT);
   ty += INPUT_HEIGHT + INNER_MARGIN;