aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/OptionsDialog.cxx
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2004-12-29 11:07:20 +0000
committerPeter Åstrand <astrand@cendio.se>2004-12-29 11:07:20 +0000
commit7489c2f02396fb5071829e3965a6a6cdda6e0101 (patch)
treefe48c88bf5fd7b9e0ec6a063a9b96ae86e54d23c /vncviewer/OptionsDialog.cxx
parent365427ae873ef3e148159832c92ff080d78743cf (diff)
downloadtigervnc-7489c2f02396fb5071829e3965a6a6cdda6e0101.tar.gz
tigervnc-7489c2f02396fb5071829e3965a6a6cdda6e0101.zip
IDC_ALLOW_COMPRESSLEVEL -> IDC_CUSTOM_COMPRESSLEVEL
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@59 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/OptionsDialog.cxx')
-rw-r--r--vncviewer/OptionsDialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx
index ae3f08a6..dd7df124 100644
--- a/vncviewer/OptionsDialog.cxx
+++ b/vncviewer/OptionsDialog.cxx
@@ -93,7 +93,7 @@ public:
case encodingHextile: setItemChecked(IDC_ENCODING_HEXTILE, true); break;
case encodingRaw: setItemChecked(IDC_ENCODING_RAW, true); break;
}
- setItemChecked(IDC_ALLOW_COMPRESSLEVEL, dlg->options.customCompressLevel);
+ setItemChecked(IDC_CUSTOM_COMPRESSLEVEL, dlg->options.customCompressLevel);
setItemInt(IDC_COMPRESSLEVEL, dlg->options.compressLevel);
setItemChecked(IDC_ALLOW_JPEG, !dlg->options.noJpeg);
setItemInt(IDC_QUALITYLEVEL, dlg->options.qualityLevel);
@@ -102,7 +102,7 @@ public:
virtual bool onOk() {
dlg->options.autoSelect = isItemChecked(IDC_ENCODING_AUTO);
dlg->options.fullColour = isItemChecked(IDC_FORMAT_FULLCOLOUR);
- dlg->options.customCompressLevel = isItemChecked(IDC_ALLOW_COMPRESSLEVEL);
+ dlg->options.customCompressLevel = isItemChecked(IDC_CUSTOM_COMPRESSLEVEL);
dlg->options.compressLevel = getItemInt(IDC_COMPRESSLEVEL);
dlg->options.noJpeg = !isItemChecked(IDC_ALLOW_JPEG);
dlg->options.qualityLevel = getItemInt(IDC_QUALITYLEVEL);