minor spacing tweak
This commit is contained in:
parent
5a7cc7fd8b
commit
07c43b8cf6
|
@ -349,7 +349,7 @@ hb_subset_plan_create (hb_face_t *face,
|
|||
input->glyphs,
|
||||
!input->drop_tables->has (HB_OT_TAG_GSUB),
|
||||
!input->drop_tables->has (HB_OT_TAG_GPOS),
|
||||
!input->drop_tables->has (HB_OT_TAG_GDEF));
|
||||
!input->drop_tables->has (HB_OT_TAG_GDEF));
|
||||
|
||||
_create_old_gid_to_new_gid_map (face,
|
||||
input->retain_gids,
|
||||
|
|
|
@ -63,18 +63,18 @@ parse_gids (const char *name G_GNUC_UNUSED,
|
|||
hb_codepoint_t end_code = strtoul (s, &p, 10);
|
||||
if (s[0] == '-' || errno || s == p)
|
||||
{
|
||||
hb_set_destroy (gids);
|
||||
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
||||
"Failed parsing gids values at: '%s'", s);
|
||||
return false;
|
||||
hb_set_destroy (gids);
|
||||
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
||||
"Failed parsing gids values at: '%s'", s);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (end_code < start_code)
|
||||
{
|
||||
hb_set_destroy (gids);
|
||||
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
||||
"Invalid gids range value %u-%u", start_code, end_code);
|
||||
return false;
|
||||
hb_set_destroy (gids);
|
||||
g_set_error (error, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE,
|
||||
"Invalid gids range value %u-%u", start_code, end_code);
|
||||
return false;
|
||||
}
|
||||
hb_set_add_range (gids, start_code, end_code);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue