[gimp] app: increase vector loading float array size
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] app: increase vector loading float array size
- Date: Sun, 31 Jan 2010 20:38:46 +0000 (UTC)
commit e82e09307cc0c2e68180a18c07f40c71aaa968ae
Author: Michael Natterer <mitch gimp org>
Date: Sun Jan 31 21:35:21 2010 +0100
app: increase vector loading float array size
xcf_load_vector(): the size of GIMP_COORDS_DEFAULT_VALUES has changed,
so the array has must be large enough to hold all its members.
app/xcf/xcf-load.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/xcf/xcf-load.c b/app/xcf/xcf-load.c
index a9cc447..22a2780 100644
--- a/app/xcf/xcf-load.c
+++ b/app/xcf/xcf-load.c
@@ -1895,7 +1895,7 @@ xcf_load_vector (XcfInfo *info,
guint32 num_axes;
guint32 num_control_points;
guint32 type;
- gfloat coords[7] = GIMP_COORDS_DEFAULT_VALUES;
+ gfloat coords[8] = GIMP_COORDS_DEFAULT_VALUES;
GimpStroke *stroke;
gint j;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]