elm_map: fix wrong check of source search 57/82857/2
authorSungtaek Hong <sth253.hong@samsung.com>
Mon, 8 Aug 2016 07:25:30 +0000 (16:25 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 8 Aug 2016 07:42:07 +0000 (00:42 -0700)
origin: upstream
Change-Id: I008f272c1d140a4d2b35744619f987edc0c656c6
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
src/lib/elm_map.c

index 63860ab..9157b6f 100644 (file)
@@ -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;