Explorar el Código

Use the correct maximum value for compression lvl

The GUI incorrectly noted the max level to be 6 while it in fact is 9.
tags/v1.10.90
Samuel Mannehed hace 4 años
padre
commit
4e61f8dbc5
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      java/com/tigervnc/vncviewer/OptionsDialog.java
  2. 1
    1
      vncviewer/OptionsDialog.cxx

+ 1
- 1
java/com/tigervnc/vncviewer/OptionsDialog.java Ver fichero

@@ -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) {

+ 1
- 1
vncviewer/OptionsDialog.cxx Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar