提交 fc246ec9 编写于 作者: G Garret Rieger

[subset] Move variable declaration out of loop.

上级 197cb18b
......@@ -232,10 +232,10 @@ test_subset_glyf_strip_hints_invalid (void)
'A', 'B', 'C', 'D', 'E', 'X', 'Y', 'Z', '1', '2',
'3', '@', '_', '%', '&', ')', '*', '$', '!'
};
for (unsigned int i = 0; i < sizeof (text) / sizeof (hb_codepoint_t); i++)
unsigned int i;
for (i = 0; i < sizeof (text) / sizeof (hb_codepoint_t); i++)
{
hb_set_add (codepoints, text[i]);
// hb_set_add (codepoints_drop_hints, text[i]);
}
hb_subset_input_t *input = hb_subset_test_create_input (codepoints);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册