patch from Holger Hanrath <barnabas76@arcor.de>

SVN revision: 18417
This commit is contained in:
codewarrior 2005-11-10 13:01:02 +00:00 committed by codewarrior
parent e4f6eb08cd
commit 1f7ec2c6af
1 changed files with 6 additions and 1 deletions

View File

@ -85,10 +85,15 @@ static void
_e_wid_text_change(void *data, Evas_Object *entry, char *key)
{
E_Widget_Data *wd;
const char *text;
wd = data;
E_FREE(*(wd->valptr));
*(wd->valptr) = strdup(e_entry_text_get(wd->o_entry));
text = e_entry_text_get(wd->o_entry);
if (!text)
*(wd->valptr) = strdup("");
else
*(wd->valptr) = strdup(text);
e_widget_change(wd->obj);
}