Summary:
When map source is set by elm_map_source_set(),
it foreaches enlisted sources, and should return
when the source cannot be found.
@fix
Test Plan:
Call elm_map_source_set(map, [any type], [Wrong source name]);
Observe ERR("source name (%s) is not found", source_name) message.
Reviewers: Hermet, cedric, jpeg
Reviewed By: jpeg
Subscribers: conr2d
Differential Revision: https://phab.enlightenment.org/D4212
break;
}
}
- if (!sd->src_tile)
+ if (!l)
{
ERR("source name (%s) is not found", source_name);
return;
break;
}
}
- if (!sd->src_route)
+ if (!l)
{
ERR("source name (%s) is not found", source_name);
return;
break;
}
}
- if (!sd->src_name)
+ if (!l)
{
ERR("source name (%s) is not found", source_name);
return;