[Gridflow-cvs] [svn] commit: r4943 - /trunk/src/gridflow.hxx

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Jan 25 22:13:43 EST 2010


Author: matju
Date: Mon Jan 25 22:13:43 2010
New Revision: 4943

Log:
win32: fix symprintf missing character

Modified:
    trunk/src/gridflow.hxx

Modified: trunk/src/gridflow.hxx
==============================================================================
--- trunk/src/gridflow.hxx (original)
+++ trunk/src/gridflow.hxx Mon Jan 25 22:13:43 2010
@@ -881,7 +881,7 @@
 static inline int vasprintf(char **buf, const char *s, va_list args) {
 	int n = vsnprintf(0,0,s,args);
 	*buf = (char *)malloc(n+1);
-	vsnprintf(*buf,n,s,args);
+	vsnprintf(*buf,n+1,s,args);
 	return n;
 }
 #endif



More information about the Gridflow-cvs mailing list