Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : apps/estickies

Dir     : e17/apps/estickies/src/bin


Modified Files:
        conf.c 


Log Message:
fix to saving text

===================================================================
RCS file: /cvs/e/e17/apps/estickies/src/bin/conf.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- conf.c      6 Aug 2006 16:55:06 -0000       1.5
+++ conf.c      18 Jan 2007 18:38:12 -0000      1.6
@@ -270,7 +270,8 @@
        E_Sticky *s;
        
        s = l->data;
-       s->text = 
etk_string_get(etk_textblock_text_get(ETK_TEXT_VIEW(s->textview)->textblock, 
ETK_FALSE));
+       E_FREE(s->text);
+       s->text = 
strdup(etk_string_get(etk_textblock_text_get(ETK_TEXT_VIEW(s->textview)->textblock,
 ETK_FALSE)));
      }
 
    stickies = E_NEW(1, E_Config_Stickies);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to