summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);