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

This commit is contained in:
hasufell 2014-05-31 17:37:06 +02:00
parent 81e8aa0552
commit a1be0803a6
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 1 additions and 1 deletions

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;