summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/luacd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/luacd.cpp b/lib/luacd.cpp
index ae4ad34..9e1e698 100644
--- a/lib/luacd.cpp
+++ b/lib/luacd.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: luacd.cpp,v 1.17 2004-12-27 22:18:53 pixel Exp $ */
+/* $Id: luacd.cpp,v 1.18 2005-02-12 22:56:17 pixel Exp $ */
#include "luacd.h"
@@ -286,7 +286,7 @@ int sLua_cdutils::cdutils_proceed(Lua * L, int n, cdutils * cd, int caller) {
break;
case CDUTILS_READFILE:
h = (Handle *) LuaObject::getme(L, 2);
- size = L->tonumber(5);
+ size = L->tonumber(3);
if (n >= 3)
sect = L->tonumber(4);
if (n == 4)