]> source.dussan.org Git - tigervnc.git/commitdiff
Added the scale controls to the vncviewer options dialog
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Wed, 24 May 2006 15:54:52 +0000 (15:54 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Wed, 24 May 2006 15:54:52 +0000 (15:54 +0000)
(remove tab symbols in code).

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@588 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/OptionsDialog.cxx

index da24cf1bc3dec937c955db86850fff63954457f6..5bb21fd9c2bd2b9d6ae72aa21a41b4b67ed45760 100644 (file)
@@ -164,13 +164,13 @@ public:
     setItemChecked(IDC_AUTO_RECONNECT, dlg->options.autoReconnect);
     setItemChecked(IDC_SHOW_TOOLBAR, dlg->options.showToolbar);
     char scale_values[8][20] = {
-                 "25","50","75","90","100","125","150","Auto"
-               };
-               HWND hScaleCombo = GetDlgItem(handle, IDC_COMBO_SCALE);
-               for (int i = 0; i <= 7; i++) {
-                 SendMessage(hScaleCombo, CB_INSERTSTRING, 
+      "25","50","75","90","100","125","150","Auto"
+    };
+    HWND hScaleCombo = GetDlgItem(handle, IDC_COMBO_SCALE);
+    for (int i = 0; i <= 7; i++) {
+      SendMessage(hScaleCombo, CB_INSERTSTRING, 
         (WPARAM)i, (LPARAM)(int FAR*)scale_values[i]);
-               }
+    }
     SetDlgItemText(handle, IDC_COMBO_SCALE, "100");
   }
   virtual bool onOk() {