diff options
Diffstat (limited to 'math/aamath/patches/patch-expr.cc')
-rw-r--r-- | math/aamath/patches/patch-expr.cc | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/math/aamath/patches/patch-expr.cc b/math/aamath/patches/patch-expr.cc index 54ce995f6e2..84f2a88a19c 100644 --- a/math/aamath/patches/patch-expr.cc +++ b/math/aamath/patches/patch-expr.cc @@ -1,6 +1,6 @@ -$NetBSD: patch-expr.cc,v 1.1 2011/11/25 22:04:43 joerg Exp $ +$NetBSD: patch-expr.cc,v 1.2 2013/03/24 16:52:35 joerg Exp $ ---- expr.cc.orig 2011-11-25 13:49:36.000000000 +0000 +--- expr.cc.orig 2005-03-08 02:00:02.000000000 +0000 +++ expr.cc @@ -1192,7 +1192,7 @@ IntegralOnInterval::render_head() const @@ -20,3 +20,21 @@ $NetBSD: patch-expr.cc,v 1.1 2011/11/25 22:04:43 joerg Exp $ }; void +@@ -1612,7 +1612,7 @@ Matrix::render() const + int cols = num_cols(); + int rows = num_rows(); + +- CanvasPtr ec[cols * rows]; ++ CanvasPtr *ec = new CanvasPtr[cols * rows]; + Size sz[cols * rows]; + + int row_height[rows]; +@@ -1692,6 +1692,8 @@ Matrix::render() const + + canvas->center(); + ++ delete[] ec; ++ + return canvas; + } + |