summaryrefslogblamecommitdiffstats
path: root/x11-toolkits/gtkmm12/files/patch-src::curve.gen_h
blob: a13e6e23a12b1ee27faa6a20f13b3d03c4d2386a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                        
--- src/curve.gen_h.orig    Sun Sep  5 05:44:36 2004
+++ src/curve.gen_h Sun Sep  5 05:51:36 2004
@@ -143,8 +143,8 @@
       int i;
       Iterator iter;
       for (iter=b,i=0;iter!=e;++iter,i++);
-      gfloat data[]=new gfloat[i];
-      get_vector(n,data);
+      gfloat* data=new gfloat[i];
+      get_vector(i,data);
       for (iter=b,i=0;iter!=e;++iter,i++)
         (*iter)=data[i];
       delete [] data;