Skip to content

Commit bcbaadd

Browse files
committed
close #105
1 parent 898d72c commit bcbaadd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static const char *hl_read_string( hl_reader *r ) {
125125
int i = INDEX();
126126
if( i < 0 || i >= r->code->nstrings ) {
127127
ERROR("Invalid string index");
128-
i = 0;
128+
return "";
129129
}
130130
return r->code->strings[i];
131131
}

0 commit comments

Comments
 (0)