return "" if conv is null anyway (as thats a "" src string)

SVN revision: 47441
This commit is contained in:
Carsten Haitzler 2010-03-25 05:13:59 +00:00
parent 9ed7a42108
commit 59961838f1
1 changed files with 6 additions and 2 deletions

View File

@ -1552,11 +1552,15 @@ elm_entry_context_menu_disabled_get(const Evas_Object *obj)
EAPI char *
elm_entry_markup_to_utf8(const char *s)
{
return _mkup_to_text(s);
char *ss = _mkup_to_text(s);
if (!ss) ss = strdup("");
return ss;
}
EAPI char *
elm_entry_utf8_to_markup(const char *s)
{
return _text_to_mkup(s);
char *ss = _text_to_mkup(s);
if (!ss) ss = strdup("");
return ss;
}