]> source.dussan.org Git - tigervnc.git/commitdiff
Remove spaces from parameter names so that they can be used as attributes in embed...
authorwimba.com <wimba.com@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Wed, 14 Sep 2005 18:42:46 +0000 (18:42 +0000)
committerwimba.com <wimba.com@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Wed, 14 Sep 2005 18:42:46 +0000 (18:42 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2545 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/src/com/tightvnc/rfbplayer/RfbPlayer.java

index 9f7aa63c43065cd421802c9a959df8f97c9a42ba..1d53674156903be9a3e454d788c9364723bbb7ab 100644 (file)
@@ -272,18 +272,18 @@ public class RfbPlayer extends java.applet.Applet
       autoPlay = true;
 
     showControls = true;
-    str = readParameter("Show Controls", false);
+    str = readParameter("Show_Controls", false);
     if (str != null && str.equalsIgnoreCase("No"))
       showControls = false;
 
     if (inAnApplet) {
-      str = readParameter("Open New Window", false);
+      str = readParameter("Open_New_Window", false);
       if (str != null && str.equalsIgnoreCase("Yes"))
         inSeparateFrame = true;
     }
 
     // Fine tuning options.
-    deferScreenUpdates = (int)readLongParameter("Defer screen updates", 20);
+    deferScreenUpdates = (int)readLongParameter("Defer_screen_updates", 20);
     if (deferScreenUpdates < 0)
       deferScreenUpdates = 0;  // Just in case.