Don't bother if there is no file selected.

SVN revision: 24531
This commit is contained in:
sebastid 2006-08-10 13:29:59 +00:00 committed by sebastid
parent 5dc2de04ea
commit 2efd79bd50
1 changed files with 2 additions and 1 deletions

View File

@ -453,9 +453,10 @@ _e_eap_edit_change_cb(void *data, Evas_Object *obj)
cfdata = data;
file = e_widget_fsel_selection_path_get(obj);
if (!file) return;
E_FREE(cfdata->image);
if (file) cfdata->image = strdup(file);
cfdata->image = strdup(file);
}
static void