changeset 6882:62cf34f42539

[project @ 2007-09-08 00:50:09 by dbateman]
author dbateman
date Sat, 08 Sep 2007 00:50:09 +0000
parents cd2c6a69a70d
children 037c8b622a01
files src/DLD-FUNCTIONS/convhulln.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/convhulln.cc	Fri Sep 07 21:48:10 2007 +0000
+++ b/src/DLD-FUNCTIONS/convhulln.cc	Sat Sep 08 00:50:09 2007 +0000
@@ -115,11 +115,11 @@
 
   boolT ismalloc = False;
 
-  OCTAVE_LOCAL_BUFFER (char, flags, 250);
+  OCTAVE_LOCAL_BUFFER(char, flags, 250);
 
   // hmm, lots of options for qhull here
   // QJ guarantees that the output will be triangles
-  snprintf(flags, sizeof(flags), "qhull QJ %s", options.c_str());
+  snprintf(flags, 250, "qhull QJ %s", options.c_str());
 
   if (!qh_new_qhull (dim, n, pt_array, ismalloc, flags, NULL, stderr)) 
     {