Fix instance-num handling in collections

Ouch!
This commit is contained in:
Behdad Esfahbod 2017-09-13 03:57:29 -04:00
parent 83b4161108
commit 585f08715b
1 changed files with 1 additions and 1 deletions

View File

@ -2100,7 +2100,7 @@ FcFreeTypeQueryAll(const FcChar8 *file,
else else
{ {
face_num++; face_num++;
instance_num = 0; instance_num = set_instance_num;
} }
} while (!err && (!index_set || face_num == set_face_num) && face_num < num_faces); } while (!err && (!index_set || face_num == set_face_num) && face_num < num_faces);