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 ad6b2a5c..f4caa908 100644 --- a/src/lj_bcread.c +++ b/src/lj_bcread.c | |||
@@ -443,7 +443,7 @@ static int bcread_header(LexState *ls) | |||
443 | #endif | 443 | #endif |
444 | } | 444 | } |
445 | if ((flags & BCDUMP_F_STRIP)) { | 445 | if ((flags & BCDUMP_F_STRIP)) { |
446 | ls->chunkname = lj_str_newz(ls->L, ls->chunkarg); | 446 | ls->chunkname = lj_str_newz(ls->L, *ls->chunkarg == BCDUMP_HEAD1 ? "=?" : ls->chunkarg); |
447 | } else { | 447 | } else { |
448 | MSize len = bcread_uleb128(ls); | 448 | MSize len = bcread_uleb128(ls); |
449 | bcread_need(ls, len); | 449 | bcread_need(ls, len); |