diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.50 2009/05/04 18:26:21 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.51 2009/06/01 19:09:26 roberto Exp roberto $ |
3 | ** Debug Interface | 3 | ** Debug Interface |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -44,7 +44,7 @@ static int currentline (CallInfo *ci) { | |||
44 | if (pc < 0) | 44 | if (pc < 0) |
45 | return -1; /* only active lua functions have current-line information */ | 45 | return -1; /* only active lua functions have current-line information */ |
46 | else | 46 | else |
47 | return getline(ci_func(ci)->l.p, pc); | 47 | return getfuncline(ci_func(ci)->l.p, pc); |
48 | } | 48 | } |
49 | 49 | ||
50 | 50 | ||