typo -= 2
authoronefang <onefang>
Mon, 7 Nov 2011 10:18:31 +0000 (10:18 +0000)
committeronefang <onefang@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 7 Nov 2011 10:18:31 +0000 (10:18 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@64864 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/examples/lua_script.edc
src/lib/edje_lua2.c

index 1eb161f..de6cb68 100644 (file)
@@ -196,7 +196,7 @@ collections {
          D.map:uv(3, 0.0, 50.0);
 
          --// Actually apply the resulting transformations.
-         D.rect2:map(map);
+         D.rect2:map(D.map);
          D.rect2:map_enable(true);
          if (D.rect2:map_enable()) then
             print("lua::map enabled");
index 8f53bf3..f8871b9 100644 (file)
@@ -2137,7 +2137,7 @@ _elua_obj_map(lua_State *L)
    Edje_Lua_Obj *obj = (Edje_Lua_Obj *)lua_touserdata(L, 1);
    Edje_Lua_Evas_Object *elo = (Edje_Lua_Evas_Object *)obj;
    Edje_Lua_Obj *obj2 = (Edje_Lua_Obj *)lua_touserdata(L, 2);
-   Edje_Lua_Map *elm = (Edje_Lua_Map *)obj;
+   Edje_Lua_Map *elm = (Edje_Lua_Map *)obj2;
    if (!obj) return 0;
    if (!obj->is_evas_obj) return 0;
    if (!obj2) return 0;