Cleaned up the Font:getWrap code a bit.

This commit is contained in:
Alex Szpakowski
2015-08-16 01:04:51 -03:00
parent 9a1c4ad565
commit 153bd6f4cb
2 changed files with 24 additions and 22 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ int w_openURL(lua_State *L)
int w_vibrate(lua_State *L)
{
double seconds = luaL_checknumber(L, 1);
double seconds = luaL_optnumber(L, 1, 0.5);
instance()->vibrate(seconds);
return 0;
}