From: Sungtaek Hong Date: Mon, 8 Aug 2016 07:25:30 +0000 (+0900) Subject: elm_map: fix wrong check of source search X-Git-Tag: submit/tizen/20160810.102033~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab3985d7fe7345c492ebd36b459aa3d1d76ca3a7;p=platform%2Fupstream%2Felementary.git elm_map: fix wrong check of source search origin: upstream Change-Id: I008f272c1d140a4d2b35744619f987edc0c656c6 Signed-off-by: Sungtaek Hong --- diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c index 63860ab40..9157b6f48 100644 --- a/src/lib/elm_map.c +++ b/src/lib/elm_map.c @@ -3378,7 +3378,7 @@ _source_tile_set(Elm_Map_Data *sd, break; } } - if (!sd->src_tile) + if (!l) { ERR("source name (%s) is not found", source_name); return; @@ -3419,7 +3419,7 @@ _source_route_set(Elm_Map_Data *sd, break; } } - if (!sd->src_route) + if (!l) { ERR("source name (%s) is not found", source_name); return; @@ -3446,7 +3446,7 @@ _source_name_set(Elm_Map_Data *sd, break; } } - if (!sd->src_name) + if (!l) { ERR("source name (%s) is not found", source_name); return;