diff options
author | Tom Hacohen <tom@stosb.com> | 2013-03-11 10:34:32 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2013-03-11 10:34:32 +0000 |
commit | 82bd0d96489bc643a7e3c362cf2dbe7d94feeb2f (patch) | |
tree | 81cb423a4bd0abdc8337583a95d525106da51c27 | |
parent | bd0b8253dc469f5c9268eb3b9744e3eabd90efdf (diff) | |
download | elementary-82bd0d96489bc643a7e3c362cf2dbe7d94feeb2f.tar.gz |
Fixed compilation.
-rw-r--r-- | src/lib/elm_entry.c | 4 |
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) size_t tlen; tlen = strlen(text); /* FIXME: need that or we do copy unitialised data */ - tmpbuf = calloc(1, tlen + sd->append_text_len - - sd->append_text_position + 1); + tmpbuf = calloc(1, tlen + wd->append_text_len - + wd->append_text_position + 1); if (!tmpbuf) { ERR("Failed to allocate memory for entry's text %p", obj); |