diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_bcread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_bcread.c b/src/lj_bcread.c index 637ef067..54f483c7 100644 --- a/src/lj_bcread.c +++ b/src/lj_bcread.c | |||
@@ -408,7 +408,7 @@ static int bcread_header(LexState *ls) | |||
408 | #endif | 408 | #endif |
409 | } | 409 | } |
410 | if ((flags & BCDUMP_F_STRIP)) { | 410 | if ((flags & BCDUMP_F_STRIP)) { |
411 | ls->chunkname = lj_str_newz(ls->L, ls->chunkarg); | 411 | ls->chunkname = lj_str_newz(ls->L, *ls->chunkarg == BCDUMP_HEAD1 ? "=?" : ls->chunkarg); |
412 | } else { | 412 | } else { |
413 | MSize len = bcread_uleb128(ls); | 413 | MSize len = bcread_uleb128(ls); |
414 | bcread_need(ls, len); | 414 | bcread_need(ls, len); |