gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r12245: update comments


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r12245: update comments
Date: Fri, 11 Jun 2010 19:40:51 -0600
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 12245
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Fri 2010-06-11 19:40:51 -0600
message:
  update comments
modified:
  libcore/movie_root.cpp
  plugin/npapi/plugin.cpp
=== modified file 'libcore/movie_root.cpp'
--- a/libcore/movie_root.cpp    2010-06-12 01:10:28 +0000
+++ b/libcore/movie_root.cpp    2010-06-12 01:40:51 +0000
@@ -2112,10 +2112,11 @@
     // The first argument we push on the stack is the URL
     fnargs.push_back(as_value(urlstr));
     
+    // The second argument we push is the method
     switch (method) {
       case MovieClip::METHOD_POST:
           fnargs.push_back(as_value("POST"));
-          break;     
+          break;
       case MovieClip::METHOD_GET:
           fnargs.push_back(as_value("GET"));
           break;

=== modified file 'plugin/npapi/plugin.cpp'
--- a/plugin/npapi/plugin.cpp   2010-06-12 01:10:28 +0000
+++ b/plugin/npapi/plugin.cpp   2010-06-12 01:40:51 +0000
@@ -734,15 +734,15 @@
             // The first argument is the URL string.
             std::string url = NPStringToString(NPVARIANT_TO_STRING(
                                                    invoke->args[0].get()));
-            // The second is the the method, namely GET or POST.
+            // The second is the method, namely GET or POST.
             std::string op = NPStringToString(NPVARIANT_TO_STRING(
                                                   invoke->args[1].get()));
             // The third is the optional target, which is something like
-            // _blank or _self.
+            // _blank or _self. NONE means no target.
             std::string target;
             // The fourth is the optional data. If there is data, the target
             // field is always set so this argument is on the correct index.
-            // No target is "none".
+            // No target is "NONE".
             std::string data;
             if (invoke->args.size() >= 3) {
                 target = NPStringToString(NPVARIANT_TO_STRING(


reply via email to

[Prev in Thread] Current Thread [Next in Thread]