summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-03-11 10:34:32 +0000
committerTom Hacohen <tom@stosb.com>2013-03-11 10:34:32 +0000
commit82bd0d96489bc643a7e3c362cf2dbe7d94feeb2f (patch)
tree81cb423a4bd0abdc8337583a95d525106da51c27
parentbd0b8253dc469f5c9268eb3b9744e3eabd90efdf (diff)
Fixed compilation.
-rw-r--r--src/lib/elm_entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 793232433..e1dbbefaf 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -2430,8 +2430,8 @@ _elm_entry_text_get(const Evas_Object *obj, const char *item)
2430 size_t tlen; 2430 size_t tlen;
2431 tlen = strlen(text); 2431 tlen = strlen(text);
2432 /* FIXME: need that or we do copy unitialised data */ 2432 /* FIXME: need that or we do copy unitialised data */
2433 tmpbuf = calloc(1, tlen + sd->append_text_len - 2433 tmpbuf = calloc(1, tlen + wd->append_text_len -
2434 sd->append_text_position + 1); 2434 wd->append_text_position + 1);
2435 if (!tmpbuf) 2435 if (!tmpbuf)
2436 { 2436 {
2437 ERR("Failed to allocate memory for entry's text %p", obj); 2437 ERR("Failed to allocate memory for entry's text %p", obj);