Cosmetics.

This commit is contained in:
Birunthan Mohanathas
2012-03-09 10:41:46 +00:00
parent 7767300379
commit ad2a986e88
6 changed files with 15 additions and 24 deletions

View File

@ -169,7 +169,7 @@ static int GetY(lua_State* L)
static int MakePathAbsolute(lua_State* L)
{
CMeterWindow* self = *(CMeterWindow**)lua_touserdata(L, 1);
CMeterWindow* self = GetSelf(L);
std::wstring path = LuaManager::ToWide(L, 2);
self->MakePathAbsolute(path);
LuaManager::PushWide(L, path.c_str());