hermet pushed a commit to branch master.

commit 9560669f925cfd875c80cc212b32c6d1499d0e78
Author: ChunEon Park <[email protected]>
Date:   Wed Jul 24 13:02:39 2013 +0900

    elementary/widget - fix the insane NULL set in translated string list.
    
    Thanks JackDanielZ for catching this issue.
---
 src/lib/elm_widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 370fb67..293f1e2 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -3831,8 +3831,8 @@ _translate_string_data_get(Eina_Inlist 
*translate_strings, const char *part)
    EINA_INLIST_FOREACH(translate_strings, ts)
      {
         if (ts->id == str) break;
-        else ts = NULL;
      }
+
    eina_stringshare_del(str);
 
    return ts;

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to