From bcbaaddc7433341b1e4813e2c6b8d913db2a02b1 Mon Sep 17 00:00:00 2001 From: Nicolas Cannasse Date: Sun, 7 Jul 2019 11:07:12 +0200 Subject: [PATCH] close #105 --- src/code.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code.c b/src/code.c index 60b51d2d0..b7f3d9659 100644 --- a/src/code.c +++ b/src/code.c @@ -125,7 +125,7 @@ static const char *hl_read_string( hl_reader *r ) { int i = INDEX(); if( i < 0 || i >= r->code->nstrings ) { ERROR("Invalid string index"); - i = 0; + return ""; } return r->code->strings[i]; }