]> git.saurik.com Git - cycript.git/commitdiff
Fixed argument serialization comma bug.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 1 Oct 2009 22:18:06 +0000 (22:18 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 1 Oct 2009 22:18:06 +0000 (22:18 +0000)
Output.cpp

index ecd39bbb993787fa1f076b08dc559c602d247277..647f47e0f0c34438ce3964c373d92a9a41c2fc19 100644 (file)
@@ -20,7 +20,7 @@ void CYArgument::Output(std::ostream &out, bool send) const {
     }
     if (next_ != NULL) {
         if (!send)
     }
     if (next_ != NULL) {
         if (!send)
-            if (next_->name_ != NULL)
+            if (next_->name_ == NULL)
                 out << ',';
             else
                 out << ' ';
                 out << ',';
             else
                 out << ' ';