OSSP CVS Repository

ossp - Difference in ossp-pkg/js/jspack.js versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/jspack.js 1.1 -> 1.2

--- jspack.js    2007/02/08 09:30:09     1.1
+++ jspack.js    2007/02/08 09:38:45     1.2
@@ -482,11 +482,11 @@
 for (i = 0; i < arguments.length; i++) {
     if (arguments[i].substring(0, 2) != '--')
         break;
-    if (arguments[i].substring(2, 9) == "encoding=") {
-        if      (arguments[i].substring(10) == "none")      { options["encoding"] = 0;  }
-        else if (arguments[i].substring(10) == "numeric")   { options["encoding"] = 10; }
-        else if (arguments[i].substring(10) == "normal")    { options["encoding"] = 62; }
-        else if (arguments[i].substring(10) == "highascii") { options["encoding"] = 95; }
+    if (arguments[i].substring(2, 11) == "encoding=") {
+        if      (arguments[i].substring(11) == "none")      { options["encoding"] = 0;  }
+        else if (arguments[i].substring(11) == "numeric")   { options["encoding"] = 10; }
+        else if (arguments[i].substring(11) == "normal")    { options["encoding"] = 62; }
+        else if (arguments[i].substring(11) == "highascii") { options["encoding"] = 95; }
         else usage();
     }
     else if (arguments[i].substring(2) == "fastdecode")

CVSTrac 2.0.1