소스 검색

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 4 년 전
부모
커밋
4e61f8dbc5
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      java/com/tigervnc/vncviewer/OptionsDialog.java
  2. 1
    1
      vncviewer/OptionsDialog.cxx

+ 1
- 1
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) {

+ 1
- 1
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;


Loading…
취소
저장