[Gridflow-cvs] [svn] commit: r4390 - /trunk/gridflow.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Oct 25 12:16:32 EDT 2009


Author: matju
Date: Sun Oct 25 12:16:31 2009
New Revision: 4390

Log:
fix multiple placeholders in pd_oprintf and thus in [gf.error]

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Sun Oct 25 12:16:31 2009
@@ -121,17 +121,17 @@
 		  case 'f':
 			if (!argc) RAISE("not enough args");
 			if (argv[i].a_type != A_FLOAT) RAISE("expected float");
-			o << argv[i].a_float;
+			o << argv[i++].a_float;
 		  break;
 		  case 's':
 			if (!argc) RAISE("not enough args");
 			if (argv[i].a_type != A_SYMBOL) RAISE("expected symbol");
-			o << argv[i].a_symbol->s_name;
+			o << argv[i++].a_symbol->s_name;
 		  break;
 		  case '_':
 			if (!argc) RAISE("not enough args");
 			char buf[MAXPDSTRING];
-			atom_string(&argv[i],buf,MAXPDSTRING);
+			atom_string(&argv[i++],buf,MAXPDSTRING);
 			o << buf;
 		  break;
 		  case '%':



More information about the Gridflow-cvs mailing list