generate the trailing zero

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-06-25 11:52:34 +02:00
parent 249ecd60db
commit 24d35d8ab8

1
code.c
View file

@ -110,6 +110,7 @@ uint32_t code_genstring(const char *str)
code_chars_add(*str);
++str;
}
code_chars_add(0);
return off;
}