Show the number of colour components via Menu.

Conflicts:

	picviewer.lua
This commit is contained in:
Tigran Aivazian authored and Qingping Hou committed 2012-10-31 20:46:28 -04:00
1 parent ee59fac328
commit 74a60eeea2
1 file changed
+2 -1
+2 -1
View File
@@ -175,7 +175,8 @@ static int getOriginalPageSize(lua_State *L) {
PicDocument *doc = (PicDocument*) luaL_checkudata(L, 1, "picdocument");
lua_pushnumber(L, doc->width);
lua_pushnumber(L, doc->height);
return 2;
lua_pushnumber(L, doc->components);
return 3;
}
/* re-entrant */