IDC_ALLOW_COMPRESSLEVEL -> IDC_CUSTOM_COMPRESSLEVEL


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@59 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx
index ae3f08a..dd7df12 100644
--- a/vncviewer/OptionsDialog.cxx
+++ b/vncviewer/OptionsDialog.cxx
@@ -93,7 +93,7 @@
     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 @@
   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);
diff --git a/vncviewer/resource.h b/vncviewer/resource.h
index ab7a27c..3a08e57 100644
--- a/vncviewer/resource.h
+++ b/vncviewer/resource.h
@@ -64,7 +64,7 @@
 #define IDC_REQUESTED_ENCODING          1052
 #define IDC_LAST_ENCODING               1053
 #define IDC_ENCODING_TIGHT              1054
-#define IDC_ALLOW_COMPRESSLEVEL         1055
+#define IDC_CUSTOM_COMPRESSLEVEL        1055
 #define IDC_COMPRESSLEVEL               1056
 #define IDC_ALLOW_JPEG                  1057
 #define IDC_QUALITYLEVEL                1058
diff --git a/vncviewer/vncviewer.rc b/vncviewer/vncviewer.rc
index 545db3b..5ec3510 100644
--- a/vncviewer/vncviewer.rc
+++ b/vncviewer/vncviewer.rc
@@ -190,7 +190,7 @@
     CONTROL         "&Very low (8 colours)",IDC_FORMAT_VERYLOWCOLOUR,"Button",
                     BS_AUTORADIOBUTTON,100,75,90,15
 
-    CONTROL         "Custom compression level:",IDC_ALLOW_COMPRESSLEVEL,
+    CONTROL         "Custom compression level:",IDC_CUSTOM_COMPRESSLEVEL,
                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,100,99,10 
     EDITTEXT        IDC_COMPRESSLEVEL,25,111,15,12,ES_AUTOHSCROLL | ES_NUMBER
     LTEXT           "level (1=fast, 9=best)",IDC_STATIC,44,114,81,9,NOT