[Gridflow-cvs] [svn] commit: r6110 - /trunk/src/classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Aug 15 12:17:21 EDT 2010


Author: matju
Date: Sun Aug 15 12:17:20 2010
New Revision: 6110

Log:
fixed [print] bug introduced yesterday

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sun Aug 15 12:17:20 2010
@@ -323,17 +323,6 @@
 
 //****************************************************************
 
-/*
-string ssprintf(const char *fmt, ...) {
-	ostringstream os;
-	va_list va;
-	va_start(va,fmt);
-	voprintf(os,fmt,va);
-	va_end(va);
-	return os.str();
-}
-*/
-
 static inline const t_atom *convert (const t_atom &r, const t_atom **bogus) {return &r;}
 
 \class GFPrint : FObject {
@@ -358,7 +347,7 @@
 		else if (argv[1]==&s_list  && argc==3 && argv[2].a_type==A_POINTER) {text << " pointer";}
 		else if (argv[1]==&s_list  && argc==2) {text << " bang";}
 		else {text << " " << argv[1];}
-		for (int i=1; i<argc; i++) {text << " " << argv[i];}
+		for (int i=2; i<argc; i++) {text << " " << argv[i];}
 		post("%s",text.str().data());
 	}
 };



More information about the Gridflow-cvs mailing list