From 4e61f8dbc51f83b1d71319b763fbd4d916d13e98 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Fri, 20 Dec 2019 15:25:53 +0100 Subject: [PATCH] Use the correct maximum value for compression lvl The GUI incorrectly noted the max level to be 6 while it in fact is 9. --- java/com/tigervnc/vncviewer/OptionsDialog.java | 2 +- vncviewer/OptionsDialog.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/com/tigervnc/vncviewer/OptionsDialog.java b/java/com/tigervnc/vncviewer/OptionsDialog.java index e15415c1..fa22a4f0 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, 6=best)"); + new JLabel("Level (1=fast, 9=best)"); jpegCheckbox = new JCheckBox("Allow JPEG Compression"); jpegCheckbox.addItemListener(new ItemListener() { public void itemStateChanged(ItemEvent e) { diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index 3c7d6703..f03f7dbd 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -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; -- 2.39.5