projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4f6eb0
)
patch from Holger Hanrath <barnabas76@arcor.de>
author
codewarrior
<codewarrior>
Thu, 10 Nov 2005 13:01:02 +0000
(13:01 +0000)
committer
codewarrior
<codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 10 Nov 2005 13:01:02 +0000
(13:01 +0000)
SVN revision: 18417
src/bin/e_widget_entry.c
patch
|
blob
|
history
diff --git
a/src/bin/e_widget_entry.c
b/src/bin/e_widget_entry.c
index
8cb114c
..
ae66d8e
100644
(file)
--- a/
src/bin/e_widget_entry.c
+++ b/
src/bin/e_widget_entry.c
@@
-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);
}