aboutsummaryrefslogtreecommitdiff
path: root/fallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'fallback.c')
-rw-r--r--fallback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fallback.c b/fallback.c
index 902d8be4..d3c2745e 100644
--- a/fallback.c
+++ b/fallback.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_fallback="$Id: fallback.c,v 1.30 1997/03/20 19:20:43 roberto Exp roberto $"; 6char *rcs_fallback="$Id: fallback.c,v 1.31 1997/03/20 20:36:19 roberto Exp roberto $";
7 7
8#include <stdio.h> 8#include <stdio.h>
9#include <string.h> 9#include <string.h>
@@ -351,7 +351,7 @@ void luaI_setfallback (void)
351 } 351 }
352 else if (strcmp(name, "arith") == 0) { /* old arith fallback */ 352 else if (strcmp(name, "arith") == 0) { /* old arith fallback */
353 int i; 353 int i;
354 oldfunc = luaI_IMtable[LUA_T_USERDATA].int_method[IM_ADD]; 354 oldfunc = luaI_IMtable[LUA_T_USERDATA].int_method[IM_POW];
355 for (i=IM_ADD; i<=IM_UNM; i++) /* ORDER IM */ 355 for (i=IM_ADD; i<=IM_UNM; i++) /* ORDER IM */
356 fillvalids(i, luaI_Address(func)); 356 fillvalids(i, luaI_Address(func));
357 replace = typeFB; 357 replace = typeFB;