Fix segfault in case we don't have any bezier curves

This commit is contained in:
2014-05-31 17:37:06 +02:00
parent 81e8aa0552
commit a1be0803a6

View File

@@ -289,7 +289,7 @@ static void assemble_HE_stage1(obj_items const * const raw_obj,
vc++;
}
while (raw_obj->bez[bzc]) {
while (raw_obj->bez && raw_obj->bez[bzc]) {
uint32_t i = 0;
vector *bez_vec = NULL;