summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-08-08 09:07:09 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-08-08 15:09:04 +0200
commita430e275dddab24059ba15d2621e518562392540 (patch)
tree7020d9cebddc927fa3d7f9fa8138625340a2e4d8
parent8d77ec88a5f7c839f149b0bd5d159b762daa0cfb (diff)
downloadrockbox-a430e275dddab24059ba15d2621e518562392540.tar.gz
rockbox-a430e275dddab24059ba15d2621e518562392540.tar.bz2
rockbox-a430e275dddab24059ba15d2621e518562392540.zip
Fix lua compile error on most targets, introduced in 8d77ec8
Change-Id: I217f78a9e348a18552563c6c3b235c9aed956f54
-rw-r--r--apps/plugins/lua/ldebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/ldebug.c b/apps/plugins/lua/ldebug.c
index 4c3fc1df28..cf882467d0 100644
--- a/apps/plugins/lua/ldebug.c
+++ b/apps/plugins/lua/ldebug.c
@@ -253,7 +253,7 @@ static int stripdebug (lua_State *L, Proto *f, const int level) {
case 3:
len += f->sizelineinfo;
f->packedlineinfo = luaM_freearray(L, f->packedlineinfo, f->sizelineinfo, unsigned char);
- f->f->sizelineinfo = 0;
+ f->sizelineinfo = 0;
case 2:
len += f->sizelocvars * (sizeof(struct LocVar) + sizeof(dummy->tsv) + sizeof(struct LocVar *));
f->locvars = luaM_freearray(L, f->locvars, f->sizelocvars, struct LocVar);