summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsongwon0.lee <songwon0.lee@samsung.com>2014-10-31 19:08:04 +0900
committersongwon0.lee <songwon0.lee@samsung.com>2014-10-31 19:08:04 +0900
commit946a8e20ded9bf92c6985ca0c8b619de5d98eeb8 (patch)
tree877a4cd2fbcefc99004aac77e63527c1ba5dc5a5
parent4f480b58f32585fd5091fe1f7ab03da186997d71 (diff)
tile_control.c : fixed incorrect key string
-rw-r--r--src/tile_control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tile_control.c b/src/tile_control.c
index 639b2dd..5c20b79 100644
--- a/src/tile_control.c
+++ b/src/tile_control.c
@@ -267,7 +267,7 @@ static void
267move_down_finish_cb(void *data, Evas_Object *obj, const char *emission, const char *source) 267move_down_finish_cb(void *data, Evas_Object *obj, const char *emission, const char *source)
268{ 268{
269 appdata_s *ad = (appdata_s *) data; 269 appdata_s *ad = (appdata_s *) data;
270 tile_info_s *info = evas_object_data_get(obj, "tile_info_s"); 270 tile_info_s *info = evas_object_data_get(obj, "tile_info");
271 271
272 ad->tile_list[info->target_x][info->target_y] = info; 272 ad->tile_list[info->target_x][info->target_y] = info;
273 273
@@ -306,7 +306,7 @@ tile_mouse_move_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
306 move_direction_e dir = get_mouse_direction(ad->mouse_move_x, ad->mouse_move_y); 306 move_direction_e dir = get_mouse_direction(ad->mouse_move_x, ad->mouse_move_y);
307 if (dir == NONE) return; //mouse move distance is not enough to determine the direction of move tile 307 if (dir == NONE) return; //mouse move distance is not enough to determine the direction of move tile
308 308
309 tile_info_s *selected_tile = (tile_info_s *)evas_object_data_get(obj, "tile_info_s"); 309 tile_info_s *selected_tile = (tile_info_s *)evas_object_data_get(obj, "tile_info");
310 tile_info_s* target_tile = tile_target_get_by_dir(ad->tile_list, selected_tile, dir); 310 tile_info_s* target_tile = tile_target_get_by_dir(ad->tile_list, selected_tile, dir);
311 311
312 if (target_tile) 312 if (target_tile)