aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_smart.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2010-10-13 19:40:11 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2010-10-13 19:40:11 +0000
commit0fccfcb4cf5840741af8ba1d46fde4beb44d4ff7 (patch)
tree6d237c8210aef6e96323dba869fe529071eb6605 /legacy/evas/src/lib/canvas/evas_smart.c
parentremove useless file (copied when autogen.sh is run) (diff)
downloadefl-0fccfcb4cf5840741af8ba1d46fde4beb44d4ff7.tar.gz
Fix bug in evas_smart_cb_descriptions_fix.
The last element of descriptions array was always removed. By: Otavio Pontes <otavio@profusion.mobi> SVN revision: 53379
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_smart.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_smart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_smart.c b/legacy/evas/src/lib/canvas/evas_smart.c
index 9a065f0f3e..0204a41b96 100644
--- a/legacy/evas/src/lib/canvas/evas_smart.c
+++ b/legacy/evas/src/lib/canvas/evas_smart.c
@@ -307,7 +307,7 @@ evas_smart_cb_descriptions_fix(Evas_Smart_Cb_Description_Array *a)
}
}
- evas_smart_cb_descriptions_resize(a, a->size - (j - i));
+ evas_smart_cb_descriptions_resize(a, i + 1);
}
static void