[Gridflow-cvs] [svn] commit: r3725 - /trunk/base/flow_objects.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri May 23 15:17:46 EDT 2008


Author: matju
Date: Fri May 23 15:17:45 2008
New Revision: 3725

Log:
fix for selector in [display]

Modified:
    trunk/base/flow_objects.c

Modified: trunk/base/flow_objects.c
==============================================================================
--- trunk/base/flow_objects.c (original)
+++ trunk/base/flow_objects.c Fri May 23 15:17:45 2008
@@ -298,7 +298,7 @@
 	if (x<0 || x>240) RAISE("out of range (not in 0..240 range)");
 	trunc = x;
 }
-\def 0 maxrows (int y) { maxrows = y; }
+\def 0 maxrows (int y) {maxrows = y;}
 template <class T> void GridPrint::make_columns (int n, T *data) {
 	long maxv=0;
 	long minv=0;
@@ -2508,7 +2508,7 @@
 }
 \def 0 set_size(int sy, int sx) {this->sy=sy; this->sx=sx;}
 \def void anything (...) {
-	string sel = argv[0];
+	string sel = string(argv[0]).data()+3;
 	text.str("");
 	if (sel != "float") {text << sel; if (argc>1) text << " ";}
 	long col = text.str().length();



More information about the Gridflow-cvs mailing list