forked from enlightenment/efl
Check for valid savedtypes imgfile before trying to use it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
bfc63634c1
commit
04ff986be5
|
@ -2756,6 +2756,8 @@ _wl_dropable_data_handle(Wl_Cnp_Selection *sel, char *data)
|
|||
sdata.x = savedtypes.x;
|
||||
sdata.y = savedtypes.y;
|
||||
|
||||
if (!savedtypes.imgfile) return;
|
||||
|
||||
if ((drop->types & ELM_SEL_FORMAT_MARKUP) &&
|
||||
(drop->types & ELM_SEL_FORMAT_IMAGE))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue