tasn pushed a commit to branch elementary-1.7.

commit 82bd0d96489bc643a7e3c362cf2dbe7d94feeb2f
Author: Tom Hacohen <[email protected]>
Date:   Mon Mar 11 10:34:32 2013 +0000

    Fixed compilation.
---
 src/lib/elm_entry.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 7932324..e1dbbef 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);

-- 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

Reply via email to