added missing switch breaks

pull/1113/head
Michiharu Ariza 6 years ago
parent 1682d1bbec
commit 85f5644e8e
  1. 2
      src/hb-subset-cff-common.hh

@ -498,10 +498,12 @@ struct SubrSubsetParam
case CSType_LocalSubr:
if (likely (context.subr_num < parsed_local_subrs->len))
return &(*parsed_local_subrs)[context.subr_num];
break;
case CSType_GlobalSubr:
if (likely (context.subr_num < parsed_global_subrs->len))
return &(*parsed_global_subrs)[context.subr_num];
break;
}
return nullptr;
}

Loading…
Cancel
Save