Merge pull request #396 from tigran123/djvu-cleanup

Cleanup of getUsedBBox() function.
This commit is contained in:
Dobrica Pavlinušić
2012-10-08 09:02:21 -07:00

3
djvu.c
View File

@@ -229,13 +229,10 @@ static int getPageSize(lua_State *L) {
/* unsupported so fake it */
static int getUsedBBox(lua_State *L) {
DjvuPage *page = (DjvuPage*) luaL_checkudata(L, 1, "djvupage");
lua_pushnumber(L, (double)0.01);
lua_pushnumber(L, (double)0.01);
lua_pushnumber(L, (double)-0.01);
lua_pushnumber(L, (double)-0.01);
return 4;
}